Update Dockerfile
All checks were successful
Test web app / Check syntax (push) Successful in 8s
Test web app / Test server with Flask Dev Mode (push) Successful in 11s
Test web app / Test server with Gunicorn (WSGI) (push) Successful in 11s
Test web app / Test server with Hypercorn (ASGI) (push) Successful in 14s
Create Docker image (unstable) / deploy (push) Successful in 4m55s
All checks were successful
Test web app / Check syntax (push) Successful in 8s
Test web app / Test server with Flask Dev Mode (push) Successful in 11s
Test web app / Test server with Gunicorn (WSGI) (push) Successful in 11s
Test web app / Test server with Hypercorn (ASGI) (push) Successful in 14s
Create Docker image (unstable) / deploy (push) Successful in 4m55s
This commit is contained in:
parent
0d65741ab9
commit
4eba6a9049
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
FROM alpine:edge
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN apk add --no-cache py3-openssl py3-flask py3-asgiref
|
||||
RUN apk add --no-cache py3-openssl py3-flask py3-asgiref py3-pip
|
||||
|
||||
CMD ["gunicorn", "--bind=0.0.0.0:2009", "server:app"]
|
||||
RUN pip install --break-system-packages hypercorn
|
||||
|
||||
CMD ["hypercorn", "--bind=0.0.0.0:2009", "server:app"]
|
Loading…
Add table
Add a link
Reference in a new issue