initial commit

This commit is contained in:
felix 2017-05-02 22:45:08 +02:00
commit 2bafacecb1
7 changed files with 228 additions and 0 deletions

19
Dockerfile Normal file
View file

@ -0,0 +1,19 @@
FROM python:2
MAINTAINER Matthew Jackowski
ENV REFRESHED_AT 2014-11-29
ENV SRV_DIR=//srv
ENV WORKING_DIR=//srv/pelican
ENV PORT=8000
ADD ./files $SRV_DIR
WORKDIR $WORKING_DIR
RUN mkdir output content cache
VOLUME ["$WORKING_DIR/"]
RUN pip install -r requirements.txt
RUN chmod +x $SRV_DIR/develop_server.sh
EXPOSE $PORT
CMD $SRV_DIR/develop_server.sh restart $PORT