aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMantas Vilčinskas <11616378+mistermantas@users.noreply.github.com>2020-06-30 16:40:55 +0300
committerGitHub <noreply@github.com>2020-06-30 16:40:55 +0300
commit5585c30299b414cd134d5594e7c1357f62e1ceb6 (patch)
tree4fa67a91eca979ba13c2a0791b2d2d8a23f5d74b
parent2544192012cafef05b739c706a893ef0bd4f4d65 (diff)
parent1423ff03363568617580799abaf872e280ade095 (diff)
@SuperSandro2000 Docker improvements
-rw-r--r--.dockerignore1
-rw-r--r--Dockerfile4
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
diff --git a/Dockerfile b/Dockerfile
index 721b64a..7f64956 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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