Skip to content

Commit

Permalink
misc(docker): Update nginx and dependencies (#1691)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdenquin authored Aug 22, 2024
1 parent 2b05846 commit 63be271
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -7,12 +7,12 @@ COPY . .
RUN apk add python3 build-base
RUN yarn && yarn build && npm prune --production

FROM nginx:1.25-alpine
FROM nginx:1.27-alpine

WORKDIR /usr/share/nginx/html

RUN apk add --no-cache bash
RUN apk update && apk upgrade libx11 nghttp2 openssl tiff
RUN apk update && apk upgrade libx11 nghttp2 openssl tiff curl busybox

COPY --from=build /app/dist .
COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf
@@ -21,4 +21,4 @@ COPY ./.env.sh ./.env.sh

EXPOSE 80

ENTRYPOINT ["/bin/bash", "-c", "./.env.sh && nginx -g \"daemon off;\""]
ENTRYPOINT ["/bin/bash", "-c", "./.env.sh && nginx -g \"daemon off;\""]

0 comments on commit 63be271

Please sign in to comment.