smartpark / Dockerfile
chartManD's picture
change directory to workdir
8fdea79
raw
history blame contribute delete
367 Bytes
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"]