Merge pull request #228 from pypiserver/docker-ownership

Ensured pypiserver user is assoc. w/group
This commit is contained in:
Matthew Planchard 2018-11-09 18:36:04 -06:00 committed by GitHub
commit 7601050612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@ FROM python:3.6-alpine
COPY . /code
WORKDIR /code
RUN adduser -S -u 9898 pypiserver && \
addgroup -S -g 9898 pypiserver && \
RUN addgroup -S -g 9898 pypiserver && \
adduser -S -u 9898 -G pypiserver pypiserver && \
apk add py-bcrypt && \
python setup.py install && \
pip install passlib && \