FROM python:3.8
WORKDIR /app
COPY . /app
RUN python -m pip install --upgrade pip
#COPY requirements.txt ./app
RUN pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
EXPOSE 5080
# CMD ["gunicorn", "start:app", "-c", "./gunicorn.conf.py"]
CMD ["python", "start.py"]
-
haoyanbin authored0f897af2