diff options
author | Melody Horn <melody@boringcactus.com> | 2020-10-02 19:09:50 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-10-02 19:09:50 -0600 |
commit | 703536e0c7540c66d32a0e07af3cd7ee5b3ca346 (patch) | |
tree | 7e48d97f060aaf6a45a0c03e180533e753e5bb63 | |
parent | b835384ccbc9d3eb7fa6416b84b86c2525aa6943 (diff) | |
download | boringcactus.com-703536e0c7540c66d32a0e07af3cd7ee5b3ca346.tar.gz boringcactus.com-703536e0c7540c66d32a0e07af3cd7ee5b3ca346.zip |
why do volumes work that way
-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 |