Created
June 18, 2015 20:48
-
-
Save dirn/1bac5a159b78c080a9c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:14.04 | |
ENV DEBIAN_FRONTEND noninteractive | |
VOLUME ["/data/devpi"] | |
EXPOSE 3141 | |
RUN apt-get update -q && apt-get install -y netbase python | |
ADD https://bootstrap.pypa.io/get-pip.py /get-pip.py | |
RUN python /get-pip.py | |
RUN pip install devpi-server | |
CMD ["devpi-server", "--host=0.0.0.0", "--serverdir=/data/devpi"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment