Update workflow.

This commit is contained in:
Tom Alexander
2024-10-20 17:33:59 -04:00
parent 8b6836ffd9
commit 500fd1f0c9
2 changed files with 11 additions and 188 deletions

View File

@@ -62,8 +62,8 @@ RUN apk add --no-cache bash nginx
RUN addgroup web && adduser -D -G web web && install -d -D -o web -g web -m 700 /srv/http/public
RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log
COPY --link --chown=web:web docker/server/nginx.conf /srv/http
COPY --link --chown=web:web docker/server/headers.include /srv/http
COPY --link --from=natter --chown=web:web /source/output/ /srv/http/public/
COPY --chown=web:web docker/server/nginx.conf /srv/http
COPY --chown=web:web docker/server/headers.include /srv/http
COPY --from=natter --chown=web:web /source/output/ /srv/http/public/
ENTRYPOINT ["/usr/sbin/nginx", "-c", "/srv/http/nginx.conf", "-e", "stderr", "-g", "daemon off;"]