aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/Dockerfile.project
blob: bae05e6f2394228eb68f39736ce4abf968bc4f87 (plain) (tree)
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