Fix patch to nginx conf.
This commit is contained in:
parent
57c38f5457
commit
9d8fa8263d
@ -4,7 +4,7 @@ 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 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
|
RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log
|
||||||
|
|
||||||
COPY --chown=web:web docker/nginx.conf /srv/http
|
COPY --chown=web:web docker/server/nginx.conf /srv/http
|
||||||
COPY --chown=web:web static/ /srv/http/public/
|
COPY --chown=web:web static/ /srv/http/public/
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/sbin/nginx", "-c", "/srv/http/nginx.conf", "-e", "stderr", "-g", "daemon off;"]
|
ENTRYPOINT ["/usr/sbin/nginx", "-c", "/srv/http/nginx.conf", "-e", "stderr", "-g", "daemon off;"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user