| FROM python:3.12 | |
| WORKDIR /code | |
| RUN chmod 777 /code | |
| RUN pip install anyio uvicorn fastapi httpx python-multipart pillow | |
| RUN mkdir -p /.cache && chmod 777 /.cache | |
| COPY . . | |
| CMD ["python", "/code/app.py"] |
| FROM python:3.12 | |
| WORKDIR /code | |
| RUN chmod 777 /code | |
| RUN pip install anyio uvicorn fastapi httpx python-multipart pillow | |
| RUN mkdir -p /.cache && chmod 777 /.cache | |
| COPY . . | |
| CMD ["python", "/code/app.py"] |