RentriWebServer / Dockerfile
MatteoScript's picture
Update Dockerfile
6d93526 verified
raw
history blame
296 Bytes
FROM python:3.9
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
RUN apt-get install -y tdsodbc unixodbc-dev
RUN apt install unixodbc -y
COPY . .
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]