aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 731b784..cac9cee 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
FROM jekyll/jekyll AS build
COPY . /srv/jekyll
-RUN jekyll build
+RUN jekyll build && cp -r /srv/jekyll/_site /var/jekyll_site
FROM nginx
-COPY --from=build /srv/jekyll/_site /usr/share/nginx/html
+COPY --from=build /var/jekyll_site /usr/share/nginx/html