From f0b1ee658ceae3c79840a877ca27fcfb49766d90 Mon Sep 17 00:00:00 2001 From: hailin Date: Sat, 17 May 2025 20:32:44 +0800 Subject: [PATCH] . --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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