FROM rendyprojects/python:latest WORKDIR /app/ RUN apt -qq update COPY . . RUN pip3 install cchardet --no-cache-dir RUN pip3 install --upgrade pip setuptools RUN pip3 install -r requirements.txt RUN chown -R 1000:0 . RUN chmod 777 . RUN chown -R 1000:0 /usr RUN chmod 777 /usr CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]