fix: fix the issues with the local build docker script (#4647)

This commit is contained in:
Svend
2024-10-15 21:45:05 +08:00
committed by GitHub
parent d5a210f53f
commit 850a6af1e0
3 changed files with 4 additions and 4 deletions

View File

@@ -18,12 +18,12 @@ RUN pnpm run build
RUN echo "Builder Success 🎉"
FROM nginx:stable-alpine as production
FROM nginx:stable-alpine AS production
RUN echo "types { application/javascript js mjs; }" > /etc/nginx/conf.d/mjs.conf
COPY --from=builder /app/playground/dist /usr/share/nginx/html
COPY ./nginx.conf /etc/nginx/nginx.conf
COPY --from=builder /app/scripts/deploy/nginx.conf /etc/nginx/nginx.conf
EXPOSE 8080