add environment for production

This commit is contained in:
wayanrivan
2025-05-16 09:37:52 +07:00
parent d9ddbd596e
commit e43f06cf26

View File

@ -35,6 +35,6 @@ COPY --from=base /public /public
# Expose required port
# CMD ["npm", "run", "start"]
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY --from=base /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]