blob: fd7403560669ade0c75bb23aeb103e5abb2b1055 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
FROM jekyll_base
ENV PROJECT_DIR="/project"
RUN sudo mkdir -p -- "$PROJECT_DIR" && \
sudo chown -- "$JEKYLL_USER:$JEKYLL_USER" "$PROJECT_DIR"
COPY --chown="$JEKYLL_USER:$JEKYLL_USER" ["Gemfile", "Gemfile.lock", "$PROJECT_DIR/"]
RUN make dependencies
COPY --chown="$JEKYLL_USER:$JEKYLL_USER" [".", "$PROJECT_DIR/"]
CMD make jekyll/serve
|