mirror of
https://github.com/shadoll/scatcher.git
synced 2025-12-20 06:29:59 +00:00
14 lines
273 B
Docker
14 lines
273 B
Docker
FROM python:3.12-alpine
|
|
|
|
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"]
|