Skip to content

Commit

Permalink
nginxinc/nginx-unprivileged
Browse files Browse the repository at this point in the history
  • Loading branch information
Robonau committed Dec 4, 2022
1 parent 1d72255 commit 6c50e8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FROM develop-stage as build-stage
RUN npm install
RUN npm run build
# production stage
FROM nginx:1.23.2-alpine as production-stage
FROM nginxinc/nginx-unprivileged:1.23.2-alpine-slim as production-stage
COPY --from=build-stage /app/dist/pwa /usr/share/nginx/html
EXPOSE 80
EXPOSE 8080
CMD ["nginx", "-g", "daemon off;"]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ services:
build:
context: .
ports:
- '9013:80'
- '9013:8080'
restart: unless-stopped

0 comments on commit 6c50e8a

Please sign in to comment.