File size: 367 Bytes
33cade6 9a536d7 b4c82ac fe0986b b4c82ac 9a536d7 8fdea79 f71084e b07cb3b 4aef79c 9a536d7 b4c82ac 9a536d7 b4c82ac |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
FROM python:3.9-slim
# RUN apt -y update
# RUN apt-get update && apt-get install -y python3-full python3-pip
COPY . ./app
WORKDIR ./app
RUN ls
RUN pip install --no-cache-dir --upgrade -r requirements.txt
RUN python3 --version
RUN pip --version
RUN pip install -r requirements.txt
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |