diff --git a/frontend/Dockerfile b/frontend/Dockerfile index c1f2abe..767d408 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -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;"]