Fixes for new multi-stage dockerfile
This commit is contained in:
parent
0fe4708ecf
commit
13e7ccb5a5
|
@ -1,8 +1,8 @@
|
||||||
FROM jekyll/jekyll as build
|
FROM jekyll/jekyll as build
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /srv/jekyll
|
||||||
COPY . /src
|
COPY . /srv/jekyll
|
||||||
jekyll build
|
RUN jekyll build --trace && cp -a _site/ /tmp/site
|
||||||
|
|
||||||
FROM nginx
|
FROM nginx
|
||||||
COPY --from=build /src/_site /usr/share/nginx/html
|
COPY --from=build /tmp/site /usr/share/nginx/html
|
||||||
|
|
Loading…
Reference in New Issue
Block a user