File size: 324 Bytes
71d83cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Update to v0.18.1 to get Python 3.10+
FROM manimcommunity/manim:v0.18.1

USER root
COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt

WORKDIR /app
COPY . /app

# Permission fix
RUN chown -R manimuser:manimuser /app

USER manimuser
EXPOSE 7860
CMD ["python", "app.py"]