mirror of
https://github.com/shadoll/scatcher.git
synced 2025-12-20 00:25:58 +00:00
16 lines
326 B
Docker
16 lines
326 B
Docker
FROM python:3.12-alpine
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
|
|
WORKDIR /app
|
|
ENV PYTHONPATH=/app
|
|
|
|
COPY ./requirements.txt ./requirements.txt
|
|
RUN pip install --upgrade pip
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
CMD ["uvicorn", "app:app", "--reload", "--host", "0.0.0.0", "--port", "8000"]
|