fix double serveur nginx -> tout tourne sur le nginx du front
This commit is contained in:
@@ -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;"]
|
||||
Reference in New Issue
Block a user