Skip to content

Instantly share code, notes, and snippets.

@dirn
Created June 18, 2015 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dirn/1bac5a159b78c080a9c2 to your computer and use it in GitHub Desktop.
Save dirn/1bac5a159b78c080a9c2 to your computer and use it in GitHub Desktop.
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