diff options
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |