fix: nginx - remove default.conf, use app.conf

This commit is contained in:
2026-06-25 14:08:42 +07:00
parent 9ed727e6a9
commit b0bd731fc7

View File

@@ -7,6 +7,7 @@ RUN npm run build
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
RUN rm -f /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/app.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]