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
|
CONTRIBUTING.rst
|
||||||
docker-compose.yml
|
docker-compose.yml
|
||||||
Dockerfile
|
Dockerfile
|
||||||
requirements.txt
|
|
||||||
tests.py
|
tests.py
|
||||||
tox.ini
|
tox.ini
|
||||||
|
|
||||||
|
|
|
@ -8,12 +8,13 @@ RUN groupadd -r snappass && \
|
||||||
|
|
||||||
WORKDIR $APP_DIR
|
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"]
|
COPY ["./snappass", "$APP_DIR/snappass"]
|
||||||
|
|
||||||
RUN python setup.py install && \
|
RUN python setup.py install && \
|
||||||
chown -R snappass $APP_DIR && \
|
chown -R snappass $APP_DIR && \
|
||||||
chgrp -R snappass $APP_DIR
|
chgrp -R snappass $APP_DIR
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
USER snappass
|
USER snappass
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue