mirror of
https://github.com/Jerryplusy/AI-powered-switches.git
synced 2025-07-04 21:29:18 +00:00
15 lines
293 B
Docker
15 lines
293 B
Docker
FROM python:3.13-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./requirements.txt /app/requirements.txt
|
|
|
|
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
|
|
|
COPY . /app
|
|
|
|
ENV PYTHONPATH=/app
|
|
ENV PORT=8000
|
|
ENV HOST=0.0.0.0
|
|
|
|
CMD ["uvicorn", "run:app", "--host", "0.0.0.0", "--port", "8000", "--reload"] |