Skip to content

Commit

Permalink
#156: Updated Dockerfile using nginxinc/nginx-unprivileged:alpine3.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Stöger committed Jan 24, 2025
1 parent e28250a commit 2d3e265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/frontend.v2.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ COPY --chown=node:node ./utils /app/binocular/utils
RUN npm run build

########## final lean image #########
FROM nginx:1.27-alpine
FROM nginxinc/nginx-unprivileged:alpine3.20

# copying compiled code from dist to nginx folder for serving
COPY --from=builder --chown=node:node /app/binocular/frontend/dist /usr/share/nginx/html

# copying nginx config from local to image
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf

# # exposing internal port
# exposing internal port
EXPOSE 80

0 comments on commit 2d3e265

Please sign in to comment.