codesmidgen/Dockerfile.nightly
Raoul Snyman 7234b85394
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
Force hypercorn to bind to 0.0.0.0:8000
2023-07-29 22:30:56 -07:00

11 lines
200 B
Docker

FROM python:3.11-alpine
WORKDIR /app
ADD . /app
RUN apk add git
RUN pip install -e .
RUN pip install hypercorn
EXPOSE 8000
CMD ["hypercorn", "--bind", "0.0.0.0:8000", "codesmidgen.app:application"]