Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
26 lines (20 sloc)
746 Bytes
This file contains 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
FROM ubuntu:14.04 | |
MAINTAINER betehess <bertails@gmail.com> | |
# Update OS | |
RUN sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list | |
RUN sed -i 's/archive.ubuntu.com/mirrors.mit.edu/g' /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get -y upgrade | |
# Install dependencies | |
RUN apt-get install make python-setuptools python-dev -y | |
RUN easy_install pip | |
RUN pip install pelican Markdown ghp-import shovel | |
RUN pip install --upgrade pelican Markdown ghp-import shovel | |
# Install script to ensures that newly created files are 775 by default | |
#ADD docker-umask-wrapper.sh /bin/docker-umask-wrapper.sh | |
#RUN chmod u+x /bin/docker-umask-wrapper.sh | |
WORKDIR /srv/pelican-website | |
# Expose default Pelican port | |
EXPOSE 8000 | |
# Run Pelican | |
CMD make devserver |