This commit is contained in:
parent
73f02c3e72
commit
f0b1ee658c
|
|
@ -25,9 +25,9 @@ RUN npm ci --production
|
||||||
|
|
||||||
# Final stage - for the production build
|
# Final stage - for the production build
|
||||||
FROM s3base as s3final
|
FROM s3base as s3final
|
||||||
ARG VERSION
|
# ARG VERSION
|
||||||
ENV VERSION=$VERSION
|
# ENV VERSION=$VERSION
|
||||||
COPY storage_v1.19.1/migrations migrations
|
COPY storage_v1.19.1/migrations /migrations
|
||||||
|
|
||||||
# Copy production node_modules from the production dependencies stage
|
# Copy production node_modules from the production dependencies stage
|
||||||
COPY --from=production-deps /app/node_modules node_modules
|
COPY --from=production-deps /app/node_modules node_modules
|
||||||
|
|
@ -311,7 +311,8 @@ RUN ln -s /usr/local/bin/auth /usr/local/bin/gotrue
|
||||||
ENV GOTRUE_DB_MIGRATIONS_PATH=/usr/local/etc/auth/migrations
|
ENV GOTRUE_DB_MIGRATIONS_PATH=/usr/local/etc/auth/migrations
|
||||||
|
|
||||||
#========================================== storage-api ====================================================
|
#========================================== storage-api ====================================================
|
||||||
|
ARG VERSION
|
||||||
|
ENV VERSION=$VERSION
|
||||||
COPY --from=s3final node_modules /supabase/storage-api/node_modules
|
COPY --from=s3final node_modules /supabase/storage-api/node_modules
|
||||||
COPY --from=s3final dist /supabase/storage-api/dist
|
COPY --from=s3final dist /supabase/storage-api/dist
|
||||||
COPY --from=s3final migrations /supabase/storage-api/migrations
|
COPY --from=s3final migrations /supabase/storage-api/migrations
|
||||||
Loading…
Reference in New Issue