9 lines
181 B
Docker
9 lines
181 B
Docker
FROM jekyll/jekyll as build
|
|
|
|
WORKDIR /srv/jekyll
|
|
COPY . /srv/jekyll
|
|
RUN jekyll build --trace && cp -a _site/ /tmp/site
|
|
|
|
FROM nginx
|
|
COPY --from=build /tmp/site /usr/share/nginx/html
|