Spaces:
Runtime error
Runtime error
File size: 385 Bytes
a395d03 e4a8c57 a395d03 bd74b58 a395d03 bd74b58 e4a8c57 bd74b58 a395d03 bd74b58 a395d03 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | FROM pytorch/pytorch:2.4.0-cuda12.1-cudnn9-runtime
RUN apt-get update && apt-get install -y \
git \
build-essential \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m -u 1000 user || true
ENV USER=user
ENV HOME=/home/user
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
CMD ["/bin/bash", "-c", "python -m http.server 7860 & python grpo_train.py"] |