Update Dockerfile - exposed port changed from 80 to 8080

This commit is contained in:
Andrii Bratanin 2023-11-02 02:03:29 +02:00 committed by GitHub
parent 4986aae7ba
commit ec27696ade
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,5 +13,5 @@ RUN pnpm build
FROM nginxinc/nginx-unprivileged:stable-alpine AS production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
EXPOSE 8080
CMD ["nginx", "-g", "daemon off;"]