Skip to content

Commit

Permalink
add Dockerfile to simplify installation
Browse files Browse the repository at this point in the history
  • Loading branch information
notslang committed Sep 6, 2016
1 parent 76e173f commit 73d2726
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM python:3.4-slim
WORKDIR /app
COPY ./images /app/images
COPY ./libgrabsite /app/libgrabsite
COPY ./grab-site ./gs-dump-urls ./gs-server ./setup.py /app/
RUN apt-get update && \
apt-get install -y build-essential && \
pip3 install ./ && \
apt-get purge -y build-essential && \
apt-get autoremove -y && \
apt-get clean && \
rm -R /root/.cache
VOLUME ["/data"]
WORKDIR /data
EXPOSE 29000
CMD ["python", "/app/gs-server"]

0 comments on commit 73d2726

Please sign in to comment.