Skip to content

Commit

Permalink
fix: Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Jan 15, 2025
1 parent c8a2f86 commit d02a28a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN npm run build
RUN node tools/generate-health.js

# production stage
FROM openresty/openresty:bookworm AS production-stage
FROM openresty/openresty:1.27.1.1-1-bookworm AS production-stage
RUN apt-get update && apt-get install -y gettext-base # required to use envsubst
COPY --from=build-stage /dist /usr/share/nginx/html
COPY ./docker/nginx.conf /etc/nginx/conf.d/default.conf.template
Expand Down

0 comments on commit d02a28a

Please sign in to comment.