Shriraj Kulkarni
Add application file_3
c4464e4
raw
history blame
415 Bytes
FROM python:3.9
RUN pip install joblib
RUN pip install python-multipart
WORKDIR /app
COPY requirements.txt /app
# Upgrade pip and install Python packages
RUN pip3 install --upgrade pip && \
pip3 install --no-cache-dir -r requirements.txt
COPY . /app
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--proxy-headers"]