Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +10 -0
Dockerfile
CHANGED
@@ -28,6 +28,16 @@ RUN mkdir -p /app/flask_sessions /app/uploads /app/data /app/JSON /app/Models /a
|
|
28 |
&& chmod -R 777 /app/uploads /app/data /app/JSON /app/Models \
|
29 |
&& chown -R appuser:appgroup /app
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
# Create necessary directories
|
32 |
RUN mkdir -p /app/flask_sessions /app/uploads /app/data /app/JSON /app/Models /app/logs /tmp/matplotlib /tmp/transformers_cache
|
33 |
|
|
|
28 |
&& chmod -R 777 /app/uploads /app/data /app/JSON /app/Models \
|
29 |
&& chown -R appuser:appgroup /app
|
30 |
|
31 |
+
|
32 |
+
# Create necessary directories and set permissions
|
33 |
+
RUN mkdir -p /app/uploads /app/data /app/JSON /app/Models /app/logs \
|
34 |
+
&& chown -R appuser:appgroup /app
|
35 |
+
|
36 |
+
# Set permissions for uploads
|
37 |
+
RUN chmod -R 777 /app/uploads
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
# Create necessary directories
|
42 |
RUN mkdir -p /app/flask_sessions /app/uploads /app/data /app/JSON /app/Models /app/logs /tmp/matplotlib /tmp/transformers_cache
|
43 |
|