Skip to content

Instantly share code, notes, and snippets.

@Yaiba
Created June 9, 2015 10:09
Show Gist options
  • Save Yaiba/234b708902afb5b3a222 to your computer and use it in GitHub Desktop.
Save Yaiba/234b708902afb5b3a222 to your computer and use it in GitHub Desktop.
simple dockerfile for pelican
# DOCKER_VERSION 1.6.2
# DESCTIPRION: dockerfile for build pelican
FROM ubuntu:14.04
MAINTAINER Gavin Fan [email protected]
RUN apt-get update -y
RUN apt-get install -y make python-setuptools
RUN easy_install pip
RUN pip install pelican Markdown typogrify
WORKDIR /home/pelican_site
EXPOSE 8000
CMD make devserver
# to run
#docker build -t pind .
#docker run --name="pelican" -d -v YOUR_PELICAN_DIR:/home/pelican_site -p 8000:8000 pind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment