Spaces:
Runtime error
Runtime error
File size: 333 Bytes
0a1b571 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
FROM python:bullseye
EXPOSE 7860
ENV PORT=7860 \
PROCS=1 \
GENERAL_SERVER_HOST=0.0.0.0
COPY . /hibi
WORKDIR /hibi
RUN pip install .
CMD hibiapi run --port $PORT --workers $PROCS
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
CMD httpx --verbose --follow-redirects http://127.0.0.1:${PORT} |