This commit is contained in:
hailin 2025-05-17 20:29:08 +08:00
parent 40dc28490f
commit 73f02c3e72
1 changed files with 4 additions and 3 deletions

View File

@ -27,7 +27,7 @@ RUN npm ci --production
FROM s3base as s3final
ARG VERSION
ENV VERSION=$VERSION
COPY migrations migrations
COPY storage_v1.19.1/migrations migrations
# Copy production node_modules from the production dependencies stage
COPY --from=production-deps /app/node_modules node_modules
@ -312,5 +312,6 @@ ENV GOTRUE_DB_MIGRATIONS_PATH=/usr/local/etc/auth/migrations
#========================================== storage-api ====================================================
COPY --from=s3final node_modules /supabase/storage-ai/node_modules
COPY --from=s3final dist /supabase/storage-ai/dist
COPY --from=s3final node_modules /supabase/storage-api/node_modules
COPY --from=s3final dist /supabase/storage-api/dist
COPY --from=s3final migrations /supabase/storage-api/migrations