Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -19,9 +19,13 @@ ENV MEILI_NO_ANALYTICS=true
|
|
19 |
|
20 |
# Create necessary directories for vision
|
21 |
RUN mkdir -p /app/client/public/images/temp
|
|
|
|
|
22 |
|
23 |
# Give write permission to the directory
|
24 |
RUN chmod -R 777 /app/client/public/images
|
|
|
|
|
25 |
|
26 |
# Install dependencies
|
27 |
RUN cd /app/api && npm install
|
|
|
19 |
|
20 |
# Create necessary directories for vision
|
21 |
RUN mkdir -p /app/client/public/images/temp
|
22 |
+
RUN mkdir -p /app/api/logs/
|
23 |
+
RUN mkdir -p /app/data
|
24 |
|
25 |
# Give write permission to the directory
|
26 |
RUN chmod -R 777 /app/client/public/images
|
27 |
+
RUN chmod -R 777 /app/api/logs/
|
28 |
+
RUN chmod -R 777 /app/data
|
29 |
|
30 |
# Install dependencies
|
31 |
RUN cd /app/api && npm install
|