diff options
author | Mantas Vilčinskas <11616378+mistermantas@users.noreply.github.com> | 2020-06-30 16:40:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 16:40:55 +0300 |
commit | 5585c30299b414cd134d5594e7c1357f62e1ceb6 (patch) | |
tree | 4fa67a91eca979ba13c2a0791b2d2d8a23f5d74b | |
parent | 2544192012cafef05b739c706a893ef0bd4f4d65 (diff) | |
parent | 1423ff03363568617580799abaf872e280ade095 (diff) |
@SuperSandro2000 Docker improvements
-rw-r--r-- | .dockerignore | 1 | ||||
-rw-r--r-- | Dockerfile | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..6b8710a --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +.git @@ -4,7 +4,7 @@ FROM nginx:alpine WORKDIR /cstate # Install hugo & git -RUN apk add hugo git +RUN apk add --no-cache hugo git # -- First Run -- @@ -16,4 +16,4 @@ RUN mkdir -p /cstate/themes/cstate COPY . /cstate/themes/cstate # Prepare the entrypoint files -COPY ./docker/entrypoint.sh /docker-entrypoint.d/10-build-hugo.sh
\ No newline at end of file +COPY ./docker/entrypoint.sh /docker-entrypoint.d/10-build-hugo.sh |