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