Skip to content

Instantly share code, notes, and snippets.

@sunix
Created July 31, 2015 09:34
Show Gist options
  • Save sunix/50fbebc475dd8b94d7f0 to your computer and use it in GitHub Desktop.
Save sunix/50fbebc475dd8b94d7f0 to your computer and use it in GitHub Desktop.
Jekyll Dockerfile
FROM sunix/jekyll4che
ENV CODENVY_APP_BIND_DIR /home/user/app
VOLUME ["/home/user/app"]
USER root
WORKDIR /home/user/app
CMD echo 'url: "http://'$CODENVY_HOSTNAME':'$CODENVY_PORT_4000'"' >> _config.yml && \
echo 'baseurl: ""' >> _config.yml && \
jekyll serve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment