Skip to content

Commit 88e329d

Browse files
committed
chore: use requirements.txt.lock file for dependency management
1 parent 5dec3ac commit 88e329d

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ FROM python:3.9-buster
22

33
WORKDIR /app
44

5-
COPY ./rates/requirements.txt /app
5+
COPY ./rates/requirements.txt.lock /app
66

77
# Install Gunicorn and any needed packages specified in requirements.txt
88
RUN pip install --no-cache-dir gunicorn && \
9-
pip install --no-cache-dir -r requirements.txt
9+
pip install --no-cache-dir -r requirements.txt.lock
1010

1111
COPY ./rates /app
1212
# Make port 8000 available to the world outside this container

rates/requirements.txt.lock

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
blinker==1.6.2
2+
click==8.1.7
3+
Flask==3.0.0
4+
importlib-metadata==6.8.0
5+
itsdangerous==2.1.2
6+
Jinja2==3.1.2
7+
MarkupSafe==2.1.3
8+
psycopg2-binary==2.9.8
9+
Werkzeug==3.0.0
10+
zipp==3.17.0

0 commit comments

Comments
 (0)