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 Nov 16, 2024
1 parent cc528e0 commit df6c1b5
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 @@ -14,7 +14,7 @@ WORKDIR /opt/blog-search/blog
RUN hugo

# Serve the site
FROM nginx:1.23.3-alpine AS server
FROM nginx:1.26.2-alpine AS server
COPY --from=builder /opt/blog-search/blog/public/ /var/www/html/public/
EXPOSE 6443/tcp
CMD ["/usr/sbin/nginx", "-g", "daemon off;"]

0 comments on commit df6c1b5

Please sign in to comment.