aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Dockerfile.project
blob: c9e0b50ac2d5d667cdf957c1f6a961f1d743fe9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
FROM jekyll_base

ENV PROJECT_DIR=/project
RUN mkdir /project && chown jekyll /project
VOLUME /project

COPY --chown=jekyll:jekyll ["Gemfile", "Gemfile.lock", "/project/"]
RUN gosu jekyll make dependencies
COPY --chown=jekyll:jekyll [".", "/project/"]

CMD make jekyll/serve