All checks were successful
Test web app / Check syntax (push) Successful in 7s
Test web app / Test server with Flask Dev Mode (push) Successful in 40s
Test web app / Test server with Gunicorn (WSGI) (push) Successful in 36s
Test web app / Test server with Hypercorn (ASGI) (push) Successful in 42s
Create Docker image (unstable) / deploy (push) Successful in 8m15s
7 lines
No EOL
147 B
Docker
7 lines
No EOL
147 B
Docker
FROM python:3-slim
|
|
WORKDIR /app
|
|
COPY . .
|
|
|
|
RUN pip install hypercorn pyopenssl flask asgiref
|
|
|
|
CMD ["hypercorn", "--bind=0.0.0.0:2009", "server:app"] |