diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -1,13 +1,9 @@ FROM alpine:latest -RUN apk add --no-cache hugo git - -COPY . /app +RUN apk add --no-cache hugo git nginx openssh WORKDIR /app -RUN ./watch.sh & - -EXPOSE 443/tcp +EXPOSE 8080/tcp -ENTRYPOINT /bin/sh -c './watch.sh' && hugo serve --baseURL "$BASE_URL" -p "$PORT" --bind '0.0.0.0' -e "$HUGO_ENV" --disableFastRender --disableLiveReload +CMD git clone "$REPO" ./ && /bin/sh -c './watch.sh' && hugo && nginx -g 'daemon off;' |