fix: copy static files to standalone dir
This commit is contained in:
@@ -55,6 +55,10 @@ COPY --from=pruner /app/out/full/ .
|
||||
|
||||
RUN pnpm build --filter=${PROJECT}
|
||||
|
||||
# Copy static files to standalone directory
|
||||
COPY public .next/standalone/
|
||||
COPY .next/static .next/standalone/.next/
|
||||
|
||||
# 4. Final image - runner stage to run the application
|
||||
FROM base AS runner
|
||||
ARG APP_DIRNAME
|
||||
|
||||
Reference in New Issue
Block a user