Spaces:
Runtime error
Runtime error
Commit
·
90cc0c4
1
Parent(s):
dc25dd6
Update Dockerfile
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -12,17 +12,17 @@ ARG LOG_PATH=/root/.flowise/logs
|
|
12 |
# Install dependencies
|
13 |
RUN apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-dev chromium
|
14 |
|
|
|
15 |
ENV PUPPETEER_SKIP_DOWNLOAD=true
|
16 |
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
|
17 |
|
|
|
|
|
|
|
|
|
18 |
# Install Flowise globally
|
19 |
RUN npm install -g flowise
|
20 |
|
21 |
-
# Configure Flowise directories using the ARG
|
22 |
-
RUN mkdir -p $LOG_PATH && chmod -R 777 $LOG_PATH
|
23 |
-
RUN mkdir -p $FLOWISE_PATH && chmod -R 777 $FLOWISE_PATH
|
24 |
-
RUN mkdir -p $FLOWISE_PATH/uploads && chmod -R 777 $FLOWISE_PATH/uploads
|
25 |
-
|
26 |
WORKDIR /data
|
27 |
|
28 |
-
CMD ["npx", "flowise", "start"]
|
|
|
12 |
# Install dependencies
|
13 |
RUN apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-dev chromium
|
14 |
|
15 |
+
ENV PORT=7860
|
16 |
ENV PUPPETEER_SKIP_DOWNLOAD=true
|
17 |
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
|
18 |
|
19 |
+
# Configure Flowise directories using the ARG
|
20 |
+
RUN mkdir -p $LOG_PATH $FLOWISE_PATH/uploads && \
|
21 |
+
chmod -R 777 $LOG_PATH $FLOWISE_PATH $FLOWISE_PATH/uploads
|
22 |
+
|
23 |
# Install Flowise globally
|
24 |
RUN npm install -g flowise
|
25 |
|
|
|
|
|
|
|
|
|
|
|
26 |
WORKDIR /data
|
27 |
|
28 |
+
CMD ["npx", "flowise", "start"]
|