Ajout du TP n°4
This commit is contained in:
6
TP4/meme-app/backend/Dockerfile
Normal file
6
TP4/meme-app/backend/Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
||||
FROM python:3.9-slim
|
||||
WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
COPY . .
|
||||
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
|
Reference in New Issue
Block a user