fix double serveur nginx -> tout tourne sur le nginx du front

This commit is contained in:
trochas
2026-02-12 17:22:11 +01:00
parent 8bc54e787b
commit 9f820449af
4 changed files with 17 additions and 82 deletions

View File

@@ -13,12 +13,8 @@ RUN npx ng build
FROM nginx:alpine
COPY --from=build /app/dist/tlcfront /usr/share/nginx/html
COPY nginxFront.conf /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
#docker build -f dockerfiles/front/Dockerfile -t front_image .
#docker run --rm -p8080:80 front_image
CMD ["nginx", "-g", "daemon off;"]