7 lines
218 B
Docker
7 lines
218 B
Docker
FROM python:3.12-slim
|
|
RUN pip install --no-cache-dir fastapi "uvicorn[standard]" python-multipart
|
|
WORKDIR /app
|
|
COPY . /app
|
|
RUN mkdir -p /app/static/img
|
|
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
|