FROM python:3.7 WORKDIR /home/seecoder/Documents/pose-correction/pc-demo COPY requirements.txt ./ RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple RUN pip install PyMySQL RUN sed -i 's/ports.ubuntu.com/mirror.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list RUN apt update RUN apt install -y libgl1-mesa-glx COPY . . #RUN python db_project.py CMD ["gunicorn", "flask_api:app", "-c", "./gunicorn.conf.py"]