Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -21,7 +21,10 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 21 |
COPY . .
|
| 22 |
|
| 23 |
# Create necessary directories
|
| 24 |
-
RUN mkdir -p content Story-Generation
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
# Expose Gradio default port
|
| 27 |
EXPOSE 7860
|
|
|
|
| 21 |
COPY . .
|
| 22 |
|
| 23 |
# Create necessary directories
|
| 24 |
+
RUN mkdir -p content Story-Generation /tmp/matplotlib_cache && \
|
| 25 |
+
chmod -R 777 /app && \
|
| 26 |
+
chmod -R 777 /tmp && \
|
| 27 |
+
chmod -R 777 /root
|
| 28 |
|
| 29 |
# Expose Gradio default port
|
| 30 |
EXPOSE 7860
|