1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-11-09 16:45:51 +01:00
pypiserver/Dockerfile

18 lines
264 B
Docker
Raw Normal View History

FROM python:3.4
# Build
COPY . /code
WORKDIR /code
RUN python setup.py install
RUN pip install passlib
WORKDIR /
RUN rm -rf /pypiserver
# Data Directory
RUN mkdir -p /data/packages
WORKDIR /data
ENTRYPOINT ["pypi-server"]
CMD ["-p", "80", "packages"]
EXPOSE 80