Cortex-Social / Dockerfile
SolarumAsteridion's picture
Create Dockerfile
8b8d30f verified
raw
history blame contribute delete
487 Bytes
FROM manimcommunity/manim:v0.18.1
USER root
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
git clone https://user:$(cat /run/secrets/HF_TOKEN)@huggingface.co/datasets/SolarumAsteridion/tempest-social /app \
&& chown -R 1000:1000 /app
RUN pip install --no-cache-dir -r requirements.txt
CMD ["python", "main.py"]