Skip to content

Commit 0d5a1f3

Browse files
committed
fix: demo nginx config
1 parent 191b6ba commit 0d5a1f3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ on:
1818
- "resources/docker/docker/*"
1919
- "resources/development/*"
2020
- "resources/demo/*"
21+
- "Dockerfile"
22+
- "demo.Dockerfile"
2123
pull_request:
2224
types: [ opened, synchronize, reopened ]
2325
paths:

demo.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ RUN echo 'longrun' > /etc/s6-overlay/s6-rc.d/nginx-ui/type && \
1616
touch /etc/s6-overlay/s6-rc.d/user/contents.d/nginx-ui
1717

1818
# copy nginx config
19-
COPY resources/docker/nginx.conf /usr/local/etc/nginx/nginx.conf
20-
COPY resources/docker/nginx-ui.conf /usr/local/etc/nginx/conf.d/nginx-ui.conf
19+
COPY resources/docker/nginx.conf /etc/nginx/nginx.conf
20+
COPY resources/docker/nginx-ui.conf /etc/nginx/conf.d/nginx-ui.conf
2121

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

0 commit comments

Comments
 (0)