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

This commit is contained in:
Mohammed Qureshi (Nova Cat) 2025-06-16 18:11:56 -07:00
parent 0d65741ab9
commit 4eba6a9049

View file

@ -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"]