Skip to content

Commit

Permalink
fix: demo nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed May 9, 2024
1 parent 191b6ba commit 0d5a1f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ on:
- "resources/docker/docker/*"
- "resources/development/*"
- "resources/demo/*"
- "Dockerfile"
- "demo.Dockerfile"
pull_request:
types: [ opened, synchronize, reopened ]
paths:
Expand Down
4 changes: 2 additions & 2 deletions demo.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ RUN echo 'longrun' > /etc/s6-overlay/s6-rc.d/nginx-ui/type && \
touch /etc/s6-overlay/s6-rc.d/user/contents.d/nginx-ui

# copy nginx config
COPY resources/docker/nginx.conf /usr/local/etc/nginx/nginx.conf
COPY resources/docker/nginx-ui.conf /usr/local/etc/nginx/conf.d/nginx-ui.conf
COPY resources/docker/nginx.conf /etc/nginx/nginx.conf
COPY resources/docker/nginx-ui.conf /etc/nginx/conf.d/nginx-ui.conf

# copy nginx-ui executable binary
COPY nginx-ui-$TARGETOS-$TARGETARCH$TARGETVARIANT/nginx-ui /usr/local/bin/nginx-ui
Expand Down

0 comments on commit 0d5a1f3

Please sign in to comment.