We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e28250a commit 2d3e265Copy full SHA for 2d3e265
docker/frontend.v2.Dockerfile
@@ -40,13 +40,13 @@ COPY --chown=node:node ./utils /app/binocular/utils
40
RUN npm run build
41
42
########## final lean image #########
43
-FROM nginx:1.27-alpine
+FROM nginxinc/nginx-unprivileged:alpine3.20
44
45
# copying compiled code from dist to nginx folder for serving
46
COPY --from=builder --chown=node:node /app/binocular/frontend/dist /usr/share/nginx/html
47
48
# copying nginx config from local to image
49
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf
50
51
-# # exposing internal port
+# exposing internal port
52
EXPOSE 80
0 commit comments