SeaWolf-AI's picture
OQC challenge: HF OAuth login + copy-paste guide + submit
88b62f7 verified
Raw History Blame Contribute Delete
384 Bytes
# HF Spaces runs the container as a non-root user; write only under paths we own.
FROM python:3.11-slim
RUN useradd -m -u 1000 user
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN chown -R user:user /app
USER user
ENV ODC_DATASET=FINAL-Bench/oqc-ledger
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]