Spaces:
Sleeping
Sleeping
FROM python:3 | |
WORKDIR /usr/src/app | |
COPY requirements.txt ./ | |
RUN apt-get update | |
RUN apt install -y software-properties-common | |
RUN apt update | |
RUN add-apt-repository main | |
RUN apt-get install -y poppler-utils | |
RUN pip install -r requirements.txt | |
COPY . . | |
EXPOSE 7860 | |
CMD ["python","./manage.py","runserver","0.0.0.0:7860"] |