Spaces:
Sleeping
Sleeping
Gouzi Mohaled
commited on
Commit
·
8311958
1
Parent(s):
be2dee9
modification du dockerfil
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -8,4 +8,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
8 |
|
9 |
COPY . .
|
10 |
|
|
|
|
|
|
|
|
|
11 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
|
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
+
# Créer le répertoire "flagged" et lui donner les permissions nécessaires
|
12 |
+
RUN mkdir flagged
|
13 |
+
RUN chmod 777 flagged
|
14 |
+
|
15 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
|