diff --git a/Dockerfile b/Dockerfile index c9a4f27..92f5068 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,9 +25,9 @@ RUN npm ci --production # Final stage - for the production build FROM s3base as s3final -ARG VERSION -ENV VERSION=$VERSION -COPY storage_v1.19.1/migrations migrations +# ARG VERSION +# ENV VERSION=$VERSION +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 @@ -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 #========================================== storage-api ==================================================== - +ARG VERSION +ENV VERSION=$VERSION 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 \ No newline at end of file