Skip to content

Commit

Permalink
Add a Python lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Feb 28, 2024
1 parent 36764df commit d95acfd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins

COPY setup.py cfg.production.toml /src/
COPY homu/ /src/homu/
COPY requirements.txt /src/

# Pre-install dependencies from a lockfile
RUN pip3 install -r /src/requirements.txt

# Homu needs to be installed in "editable mode" (-e): when pip installs an
# application it resets the permissions of all source files to 644, but
Expand Down
18 changes: 18 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
bottle==0.12.25
certifi==2024.2.2
charset-normalizer==3.3.2
github3.py==0.9.6
idna==3.6
Jinja2==3.1.3
MarkupSafe==2.1.5
pip==20.0.2
requests==2.31.0
retrying==1.3.4
setuptools==45.2.0
six==1.16.0
toml==0.10.2
uritemplate==4.1.1
uritemplate.py==3.0.2
urllib3==2.2.1
waitress==3.0.0
wheel==0.34.2

0 comments on commit d95acfd

Please sign in to comment.