ci(docker): add initial docker configuration
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
__pycache__/
|
||||||
|
venv/
|
||||||
|
.woodpecker/
|
||||||
|
Dockerfile
|
||||||
|
.git
|
||||||
|
.gitignore
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
FROM python:3.10-alpine
|
||||||
|
COPY requirements.txt /
|
||||||
|
RUN pip3 install -r /requirements.txt
|
||||||
|
|
||||||
|
COPY . /app
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
ENTRYPOINT ["./gunicorn.sh"]
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
gunicorn --chdir app wsgi:app -w 2 --threads 2 -b 0.0.0.0:80
|
||||||
Reference in New Issue
Block a user