mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 17:08:30 +01:00
4b191506ed
docker cache.
15 lines
337 B
Docker
15 lines
337 B
Docker
FROM python:3.7
|
|
|
|
WORKDIR /code
|
|
|
|
# install dependencies
|
|
COPY ./requirements.txt ./
|
|
RUN pip3 install --no-cache-dir -r requirements.txt
|
|
|
|
# copy everything else into /code
|
|
COPY . .
|
|
|
|
EXPOSE 7777
|
|
|
|
#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"]
|