Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -7,8 +7,8 @@ WORKDIR /app
|
|
7 |
# Copy application files into the container
|
8 |
COPY . /app
|
9 |
|
10 |
-
# Create and set permissions for the uploads and
|
11 |
-
RUN mkdir -p /app/uploads /app/audio_cache /app/transcript_cache && chmod 777 /app/uploads /app/audio_cache /app/transcript_cache
|
12 |
|
13 |
# Set environment variable for the cache directory
|
14 |
ENV XDG_CACHE_HOME=/app/.cache
|
|
|
7 |
# Copy application files into the container
|
8 |
COPY . /app
|
9 |
|
10 |
+
# Create and set permissions for the uploads, cache, audio_cache, and transcript_cache directories
|
11 |
+
RUN mkdir -p /app/uploads /app/.cache/whisper /app/audio_cache /app/transcript_cache && chmod -R 777 /app/uploads /app/.cache /app/audio_cache /app/transcript_cache
|
12 |
|
13 |
# Set environment variable for the cache directory
|
14 |
ENV XDG_CACHE_HOME=/app/.cache
|