Added Docker stuff.
This commit is contained in:
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM python:alpine
|
||||
|
||||
RUN pip install --no-cache-dir flask gunicorn
|
||||
|
||||
COPY . /api
|
||||
WORKDIR /api
|
||||
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:80", "-w", "4", "--timeout", "1800", "--access-logfile", "-", "--preload", "wsgi:app"]
|
||||
Reference in New Issue
Block a user