lingyit1108 commited on
Commit
b6a2d9d
1 Parent(s): f1c6417

added dependency file

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. requirements.txt +1 -0
Dockerfile CHANGED
@@ -3,9 +3,9 @@
3
 
4
  FROM python:3.9
5
 
6
- WORKDIR /code
7
 
8
- COPY ./requirements.txt /code/requirements.txt
9
 
10
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
 
3
 
4
  FROM python:3.9
5
 
6
+ WORKDIR /app
7
 
8
+ COPY ./requirements.txt /app/requirements.txt
9
 
10
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ fastapi==0.108.0