Skip to content

Commit 2d3e265

Browse files
author
Manuel Stöger
committed
#156: Updated Dockerfile using nginxinc/nginx-unprivileged:alpine3.20
1 parent e28250a commit 2d3e265

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/frontend.v2.Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ COPY --chown=node:node ./utils /app/binocular/utils
4040
RUN npm run build
4141

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

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

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

51-
# # exposing internal port
51+
# exposing internal port
5252
EXPOSE 80

0 commit comments

Comments
 (0)