Skip to content

Commit

Permalink
chore(4829) use explicit path in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolezhanchik committed Feb 10, 2025
1 parent e562104 commit 7b4af25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-push-maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- hore/4829
paths:
- maintenance/**
- .github/workflows/build-push-maintenance.yml
Expand Down
4 changes: 2 additions & 2 deletions maintenance/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM nginx:1.27.4-alpine

RUN addgroup -S nonroot && adduser -S nonroot -G nonroot

COPY static /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf
COPY maintenance/static /usr/share/nginx/html
COPY maintenance/nginx.conf /etc/nginx/nginx.conf

RUN chown -R nonroot:nonroot /usr/share/nginx/html /etc/nginx/nginx.conf
USER nonroot
Expand Down

0 comments on commit 7b4af25

Please sign in to comment.