Skip to content

Commit

Permalink
Merge pull request #52 from arkivverket/change-nginx-image
Browse files Browse the repository at this point in the history
Change nginx image
  • Loading branch information
jon-larsen authored Aug 22, 2024
2 parents 44f9e6a + 273d0e2 commit 39145e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
run: echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT

build-and-publish-image:
runs-on: ubuntu-latest
Expand Down
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 39145e9

Please sign in to comment.