mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 13:47:27 +08:00
17 lines
302 B
Docker
17 lines
302 B
Docker
FROM python:3.7
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -y vim
|
|
|
|
WORKDIR /code
|
|
|
|
COPY ./requirements.txt ./
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
|
|
COPY . .
|
|
|
|
#gunicorn wsgi:app -b 0.0.0.0:7777 -w 2 --timeout 15 --log-level DEBUG
|
|
CMD ["gunicorn","wsgi:app","-b","0.0.0.0:7777","-w","2","--timeout","15"]
|
|
|