mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-18 11:59:26 +00:00
17 lines
301 B
Docker
17 lines
301 B
Docker
#
|
|
FROM python:3.10.5
|
|
|
|
#
|
|
WORKDIR /usr/learnhouse
|
|
|
|
#
|
|
COPY ./requirements.txt /usr/learnhouse/requirements.txt
|
|
|
|
#
|
|
RUN pip install --no-cache-dir --upgrade -r /usr/learnhouse/requirements.txt
|
|
|
|
#
|
|
COPY ./ /usr/learnhouse
|
|
|
|
#
|
|
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80" , "--reload"]
|