Commit 1bf082bd authored by haoyanbin's avatar haoyanbin

1

parent e1f817b6
FROM python:3.8
WORKDIR /
RUN /usr/local/bin/python -m pip install --upgrade pip -i https://pypi.python.org/simple
RUN python -m pip install --upgrade pip -i https://pypi.python.org/simple
COPY requirements.txt ./
RUN pip install -r requirements.txt
COPY . .
CMD ["gunicorn", "start:app", "-c", "./gunicorn.conf.py"]
\ No newline at end of file
# CMD ["gunicorn", "start:app", "-c", "./gunicorn.conf.py"]
CMD ["python", "start.py"]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment