Skip to content

Commit

Permalink
Merge pull request #34 from jordanopensource/fix/missing-python-requi…
Browse files Browse the repository at this point in the history
…rements.txt

Fix: fix python requirements list
  • Loading branch information
thamudi authored Feb 6, 2024
2 parents 7b06f93 + 2d27f4d commit dabc1d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
CONTRIBUTING.rst
docker-compose.yml
Dockerfile
requirements.txt
# requirements.txt
tests.py
tox.ini

Expand Down
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ RUN groupadd -r snappass && \

WORKDIR $APP_DIR

COPY ["setup.py", "MANIFEST.in", "README.rst", "AUTHORS.rst", "$APP_DIR/"]
COPY ["setup.py", "MANIFEST.in", "README.rst", "AUTHORS.rst", "Makefile", "requirements.txt", "$APP_DIR/"]
COPY ["./snappass", "$APP_DIR/snappass"]

RUN python setup.py install && \
RUN apt-get update && \
apt-get install make && \
make prod && \
python setup.py install && \
chown -R snappass $APP_DIR && \
chgrp -R snappass $APP_DIR

Expand Down

0 comments on commit dabc1d7

Please sign in to comment.