Skip to content

Commit

Permalink
Replace nginx image
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-larsen committed Aug 22, 2024
1 parent 44f9e6a commit 236bab3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
FROM arkivverket.azurecr.io/nginx:1.23.3
COPY --chown=nonroot . /usr/share/nginx/html/
FROM nginx:1.27.1
COPY . /usr/share/nginx/html/
RUN sed -i '/default_type application\/octet-stream;/d' /etc/nginx/nginx.conf

0 comments on commit 236bab3

Please sign in to comment.