- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for code (0.12 sec)
-
docs/ru/docs/deployment/docker.md
FROM python:3.9 WORKDIR /code COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt # (1) COPY ./main.py /code/ # (2) CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"] ``` 1. Скопируйте непосредственно файл `main.py` в директорию `/code` (не указывайте `./app`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 57.5K bytes - Viewed (0)