mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
18 lines
264 B
Docker
18 lines
264 B
Docker
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
|