Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
-
# Update to v0.18.1 to get Python 3.10+
|
| 2 |
FROM manimcommunity/manim:v0.18.1
|
| 3 |
|
| 4 |
USER root
|
| 5 |
|
| 6 |
-
#
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
|
|
|
| 10 |
COPY requirements.txt .
|
| 11 |
RUN pip install --upgrade pip
|
| 12 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
@@ -14,7 +14,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 14 |
WORKDIR /app
|
| 15 |
COPY . /app
|
| 16 |
|
| 17 |
-
#
|
| 18 |
RUN chown -R manimuser:manimuser /app
|
| 19 |
|
| 20 |
USER manimuser
|
|
|
|
|
|
|
| 1 |
FROM manimcommunity/manim:v0.18.1
|
| 2 |
|
| 3 |
USER root
|
| 4 |
|
| 5 |
+
# Install required fonts (Roboto + emoji)
|
| 6 |
+
RUN apt-get update && apt-get install -y \
|
| 7 |
+
fonts-roboto \
|
| 8 |
+
fonts-noto-color-emoji
|
| 9 |
+
|
| 10 |
COPY requirements.txt .
|
| 11 |
RUN pip install --upgrade pip
|
| 12 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 14 |
WORKDIR /app
|
| 15 |
COPY . /app
|
| 16 |
|
| 17 |
+
# Fix permissions
|
| 18 |
RUN chown -R manimuser:manimuser /app
|
| 19 |
|
| 20 |
USER manimuser
|