Spaces:
Sleeping
Sleeping
Salif SAWADOGO
commited on
Commit
·
1bbc65e
1
Parent(s):
603f361
CORRECT DOCKERFILE
Browse files- Dockerfile +0 -7
Dockerfile
CHANGED
@@ -1,12 +1,5 @@
|
|
1 |
FROM python:3.9
|
2 |
-
|
3 |
COPY . /usr/app/
|
4 |
WORKDIR /usr/app/
|
5 |
-
|
6 |
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
-
#When you are building a docker image you want it to be light.
|
8 |
-
# This helps avoiding bloating the image with cached files
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
CMD main.py
|
|
|
1 |
FROM python:3.9
|
|
|
2 |
COPY . /usr/app/
|
3 |
WORKDIR /usr/app/
|
|
|
4 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
|
|
|
|
|
5 |
CMD main.py
|