Skip to content

Commit

Permalink
Fixed Docker base image
Browse files Browse the repository at this point in the history
  • Loading branch information
prologic committed Jul 4, 2016
1 parent 50b562f commit 41c964a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 0 additions & 1 deletion .dockerignore
@@ -1,6 +1,5 @@
*~
tmp
.git
.tox
.env
dist
Expand Down
12 changes: 11 additions & 1 deletion Dockerfile
Expand Up @@ -19,11 +19,21 @@
#
# Last Updated: 20141115

FROM crux/python:onbuild
FROM prologic/python-runtime:2.7
MAINTAINER James Mills <prologic@shortcircuitnet.au>

# Services
EXPOSE 80 8000 443

# Volumes
VOLUME /var/www

RUN apk -U add git && \
rm -rf /var/cache/apk/*

COPY requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt && rm /tmp/requirements.txt

WORKDIR /app
COPY . /app/
RUN pip install .

0 comments on commit 41c964a

Please sign in to comment.