Files
workshop-image-improvement/Dockerfile-3
2025-06-13 00:23:05 +00:00

16 lines
291 B
Plaintext

FROM python:3.13.5-bullseye
WORKDIR /usr/src/app
COPY requirements.txt .
RUN pip install \
--no-cache-dir \
-r requirements.txt
RUN apt-get update && apt-get upgrade -y \
&& rm -rf /var/lib/apt/lists/*
COPY . .
CMD ["uvicorn", "app:api", "--host", "0.0.0.0", "--port", "8000"]