diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,6 +4,9 @@ RUN apk add --no-cache hugo git nginx openssh WORKDIR /app +COPY ./watch.sh / +COPY ./nginx-entrypoint.sh / + EXPOSE 8080/tcp -CMD git clone "$REPO" ./ && /bin/sh -c './watch.sh' && hugo && nginx -g 'daemon off;' +ENTRYPOINT git clone "$REPO" . && git submodule update --init && /bin/sh -c '/watch.sh &' ls && hugo && /nginx-entrypoint.sh && nginx -g 'daemon off;' |