hopes and dreams
This commit is contained in:
parent
e3b1ac8bd1
commit
8f021fabf3
9 changed files with 23 additions and 26 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
FROM python
|
||||
WORKDIR /usr/local/app
|
||||
|
||||
COPY src ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
RUN useradd app
|
||||
USER app
|
||||
|
||||
CMD ["gunicorn","-w 2", "-b 0.0.0.0:5000", "wsgi:app"]
|
Loading…
Add table
Add a link
Reference in a new issue