hashimotoa961 commited on
Commit
06c9ded
·
1 Parent(s): e98a018

fix for flask

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -2,8 +2,7 @@ FROM python:3.9
2
 
3
  WORKDIR /code
4
  COPY ./requirements.txt /code/requirements.txt
5
- COPY ./app.py /code/app.py
6
 
7
- RUN pip install -r requirements.txt
8
  COPY . .
9
  CMD ["python", "app.py"]
 
2
 
3
  WORKDIR /code
4
  COPY ./requirements.txt /code/requirements.txt
5
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
6
 
 
7
  COPY . .
8
  CMD ["python", "app.py"]