asv7j commited on
Commit
cba8256
·
verified ·
1 Parent(s): 85d28ac

Update DockerFile

Browse files
Files changed (1) hide show
  1. DockerFile +4 -5
DockerFile CHANGED
@@ -1,10 +1,9 @@
1
  FROM python:3.9
2
 
3
- WORKDIR /python-docker
4
-
5
- COPY requirements.txt requirements.txt
6
- RUN pip3 install -r requirements.txt
7
 
8
  COPY . .
9
-
10
  CMD ["python3", "app.py"]
 
1
  FROM python:3.9
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
+ RUN lscpu
9
  CMD ["python3", "app.py"]