Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse filesSet permissions data directory
- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -26,7 +26,7 @@ RUN mkdir -p /client/
|
|
26 |
# Set working directory
|
27 |
WORKDIR /client
|
28 |
|
29 |
-
# Make cache directory
|
30 |
RUN mkdir -p /client/requests_cache/
|
31 |
|
32 |
# Set the permissions
|
@@ -35,6 +35,9 @@ RUN chmod 777 /client/requests_cache
|
|
35 |
# Copy client frontend
|
36 |
COPY . .
|
37 |
|
|
|
|
|
|
|
38 |
# Expose app port
|
39 |
EXPOSE 7860
|
40 |
|
|
|
26 |
# Set working directory
|
27 |
WORKDIR /client
|
28 |
|
29 |
+
# Make cache directory cache directory
|
30 |
RUN mkdir -p /client/requests_cache/
|
31 |
|
32 |
# Set the permissions
|
|
|
35 |
# Copy client frontend
|
36 |
COPY . .
|
37 |
|
38 |
+
# Set the permissions data directory
|
39 |
+
RUN chmod 777 /client/data/
|
40 |
+
|
41 |
# Expose app port
|
42 |
EXPOSE 7860
|
43 |
|