Install deps from requirements.txt (#303)
This commit is contained in:
parent
6a10fd32d5
commit
99028bff16
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,6 @@
|
|||
CONTRIBUTING.rst
|
||||
docker-compose.yml
|
||||
Dockerfile
|
||||
requirements.txt
|
||||
tests.py
|
||||
tox.ini
|
||||
|
||||
|
|
|
@ -8,12 +8,13 @@ RUN groupadd -r snappass && \
|
|||
|
||||
WORKDIR $APP_DIR
|
||||
|
||||
COPY ["setup.py", "MANIFEST.in", "README.rst", "AUTHORS.rst", "$APP_DIR/"]
|
||||
COPY ["setup.py", "requirements.txt", "MANIFEST.in", "README.rst", "AUTHORS.rst", "$APP_DIR/"]
|
||||
COPY ["./snappass", "$APP_DIR/snappass"]
|
||||
|
||||
RUN python setup.py install && \
|
||||
chown -R snappass $APP_DIR && \
|
||||
chgrp -R snappass $APP_DIR
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
USER snappass
|
||||
|
||||
|
|
Loading…
Reference in a new issue