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 authored Sep 5, 2016
1 parent 76e173f commit 3debff9
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
RUN apt-get install -y build-essential
RUN pip3 install ./
RUN apt-get purge -y build-essential
RUN apt-get autoremove -y
RUN apt-get clean
RUN rm -R /root/.cache
VOLUME ["/data"]
WORKDIR /data
EXPOSE 29000
CMD ["python", "/app/gs-server"]

0 comments on commit 3debff9

Please sign in to comment.