Spaces:
Runtime error
Runtime error
Commit ·
4eda3bf
1
Parent(s): e1dcb78
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -17,10 +17,9 @@ ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
|
|
| 17 |
RUN npm install -g flowise
|
| 18 |
|
| 19 |
RUN chmod 777 /usr/local/lib/node_modules/flowise/
|
| 20 |
-
RUN chmod 777 /usr/local/lib/node_modules/flowise/logs
|
| 21 |
-
RUN chmod 777 /usr/local/lib/node_modules/flowise/uploads
|
| 22 |
|
| 23 |
WORKDIR /data
|
| 24 |
|
| 25 |
-
|
| 26 |
CMD ["npx", "flowise", "start"]
|
|
|
|
| 17 |
RUN npm install -g flowise
|
| 18 |
|
| 19 |
RUN chmod 777 /usr/local/lib/node_modules/flowise/
|
| 20 |
+
RUN mkdir -p /usr/local/lib/node_modules/flowise/logs && chmod -R 777 /usr/local/lib/node_modules/flowise/logs
|
| 21 |
+
RUN mkdir -p /usr/local/lib/node_modules/flowise/uploads && chmod -R chmod 777 /usr/local/lib/node_modules/flowise/uploads
|
| 22 |
|
| 23 |
WORKDIR /data
|
| 24 |
|
|
|
|
| 25 |
CMD ["npx", "flowise", "start"]
|