Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -27,7 +27,7 @@ ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
|
|
| 27 |
# Install Flowise globally
|
| 28 |
# RUN npm install -g flowise
|
| 29 |
|
| 30 |
-
RUN npm install -g "git+https://github.com/kivilaid/Flowise.git" && ln -s $FLOWISE_PATH/packages/server/bin/run /usr/local/bin/flowise
|
| 31 |
|
| 32 |
# # Configure Flowise directories using the ARG
|
| 33 |
RUN mkdir -p $FLOWISE_PATH/uploads && chmod -R 777 $FLOWISE_PATH
|
|
@@ -36,3 +36,4 @@ RUN mkdir -p $FLOWISE_PATH/uploads && chmod -R 777 $FLOWISE_PATH
|
|
| 36 |
|
| 37 |
CMD ["sh", "-c", "mkdir -p $LOG_PATH && chmod -R 777 $LOG_PATH && flowise start"]
|
| 38 |
|
|
|
|
|
|
| 27 |
# Install Flowise globally
|
| 28 |
# RUN npm install -g flowise
|
| 29 |
|
| 30 |
+
RUN npm install -g "git+https://github.com/kivilaid/Flowise.git" && ln -s $FLOWISE_PATH/packages/server/bin/run /usr/local/bin/flowise && chmod +x $FLOWISE_PATH/packages/server/bin/run # ← give it exec perms
|
| 31 |
|
| 32 |
# # Configure Flowise directories using the ARG
|
| 33 |
RUN mkdir -p $FLOWISE_PATH/uploads && chmod -R 777 $FLOWISE_PATH
|
|
|
|
| 36 |
|
| 37 |
CMD ["sh", "-c", "mkdir -p $LOG_PATH && chmod -R 777 $LOG_PATH && flowise start"]
|
| 38 |
|
| 39 |
+
|