Skip to content

Commit

Permalink
Fixed nginx version to a non-vulnerable one (stable-alpine -> 1.21.5-…
Browse files Browse the repository at this point in the history
…alpine)
  • Loading branch information
Lorenzo Gallucci committed Jan 6, 2022
1 parent 4d4bb27 commit 7781175
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ RUN yarn install
COPY . .
RUN yarn build

FROM nginx:stable-alpine as production-stage
FROM nginx:1.21.5-alpine as production-stage
ENV API_URL http://kubernetes.local
COPY nginx.conf.template /etc/nginx/templates/default.conf.template
COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit 7781175

Please sign in to comment.