fix(deploy): use deploy/nginx path for frontend Dockerfile when context=..

This commit is contained in:
2025-08-23 17:52:40 +08:00
parent 41c6d06746
commit cd89cc7619

View File

@@ -7,6 +7,6 @@ RUN npm run build --prefix frontend
FROM nginx:stable-alpine
COPY --from=builder /app/frontend/dist /usr/share/nginx/html
COPY nginx/docker-chat.conf /etc/nginx/conf.d/default.conf
COPY deploy/nginx/docker-chat.conf /etc/nginx/conf.d/default.conf
EXPOSE 8443
CMD ["nginx", "-g", "daemon off;"]