Create Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.12-alpine
|
| 2 |
+
RUN pip install --no-cache-dir --upgrade httpx[http2] fastapi uvicorn
|
| 3 |
+
WORKDIR /code
|
| 4 |
+
RUN chmod 777 /code
|
| 5 |
+
COPY . .
|
| 6 |
+
CMD ["python", "/code/app.py"]
|