This commit is contained in:
hailin 2025-05-17 20:54:31 +08:00
parent 4324dc9510
commit b7f42f5e87
1 changed files with 6 additions and 0 deletions

View File

@ -313,6 +313,12 @@ ENV GOTRUE_DB_MIGRATIONS_PATH=/usr/local/etc/auth/migrations
#========================================== storage-api ====================================================
ARG VERSION
ENV VERSION=$VERSION
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get update && \
apt-get install -y nodejs && \
npm install -g npm@10.8.2 pnpm@10.9.0
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