diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 952c9db8..b6a27807 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,8 @@ on: - "resources/docker/docker/*" - "resources/development/*" - "resources/demo/*" + - "Dockerfile" + - "demo.Dockerfile" pull_request: types: [ opened, synchronize, reopened ] paths: diff --git a/demo.Dockerfile b/demo.Dockerfile index 8d2e7e41..28ce2b72 100644 --- a/demo.Dockerfile +++ b/demo.Dockerfile @@ -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