Spaces:
Sleeping
Sleeping
File size: 522 Bytes
7131bbe 3308508 7131bbe 7dedc8d 7131bbe 98f9145 7131bbe | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | FROM python:3.12-slim
WORKDIR /app
LABEL org.opencontainers.image.description="ProofFrame sponsor evidence judge demo"
COPY pyproject.toml README.md ./
COPY src ./src
COPY apps ./apps
COPY tasks.json ./tasks.json
COPY docs/assets ./docs/assets
ARG INSTALL_EXTRAS=""
RUN if [ -n "$INSTALL_EXTRAS" ]; then \
pip install --no-cache-dir ".[${INSTALL_EXTRAS}]"; \
else \
pip install --no-cache-dir .; \
fi
EXPOSE 8088
CMD ["sh", "-c", "uvicorn proofframe.app:app --host 0.0.0.0 --port ${PORT:-8088}"]
|