-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (20 loc) · 746 Bytes
/
Dockerfile
File metadata and controls
26 lines (20 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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