Files
checkmyhouse/Dockerfile
2025-09-11 01:08:51 +08:00

16 lines
361 B
Docker

FROM python:3.10
ENV PYTHONUNBUFFERED=1
WORKDIR /app/
COPY pyproject.toml uv.lock /app/
COPY website/ /app/website/
RUN python -m pip install django djangorestframework drf-yasg uvicorn -i https://pypi.tuna.tsinghua.edu.cn/simple
WORKDIR /app/website/
#CMD ["python", "-m", "uvicorn", "website.asgi:application"] \
#CMD ["python","manage.py","runserver"]