Spaces:
Runtime error
Runtime error
Commit
·
fe38529
1
Parent(s):
9f1a73b
torch issue resolved and added cache dir
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -4,6 +4,12 @@ FROM python:3.9-slim
|
|
4 |
# Set working directory
|
5 |
WORKDIR /app
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
# Install required system packages
|
8 |
RUN apt-get update && apt-get install -y \
|
9 |
libgl1-mesa-glx \
|
|
|
4 |
# Set working directory
|
5 |
WORKDIR /app
|
6 |
|
7 |
+
ENV HOME=/app
|
8 |
+
|
9 |
+
RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache
|
10 |
+
ENV XDG_CACHE_HOME=/app/.cache
|
11 |
+
|
12 |
+
|
13 |
# Install required system packages
|
14 |
RUN apt-get update && apt-get install -y \
|
15 |
libgl1-mesa-glx \
|