Created
June 9, 2015 10:09
-
-
Save Yaiba/234b708902afb5b3a222 to your computer and use it in GitHub Desktop.
simple dockerfile for pelican
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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