aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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