• haoyanbin's avatar
    1 · 0f897af2
    haoyanbin authored
    0f897af2
Dockerfile 290 Bytes
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"]