AiCoder / Dockerfile
MrA7A1's picture
Fix HF package runtime: include shared layer and env bootstrap
1d60180 verified
raw
history blame contribute delete
477 Bytes
FROM python:3.11-slim
WORKDIR /app
ENV PYTHONUNBUFFERED=1
ENV PYTHONUTF8=1
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
RUN mkdir -p /data/kapo_runtime/current /data/kapo_runtime/overlay
COPY brain_server /app/brain_server
COPY shared /app/shared
COPY .env /app/.env
COPY kapo.env /app/kapo.env
COPY bootstrap_space_runtime.py /app/bootstrap_space_runtime.py
CMD ["python", "/app/bootstrap_space_runtime.py"]