Spaces:
Runtime error
Runtime error
Commit
•
81c90e4
1
Parent(s):
4daf5e4
Update Dockerfile
Browse files- Dockerfile +5 -7
Dockerfile
CHANGED
@@ -4,10 +4,10 @@ USER root
|
|
4 |
# Arguments that can be passed at build time
|
5 |
ARG FLOWISE_PATH=/usr/local/lib/node_modules/flowise
|
6 |
ARG BASE_PATH=/root/.flowise
|
7 |
-
ARG DATABASE_PATH
|
8 |
-
ARG APIKEY_PATH
|
9 |
-
ARG SECRETKEY_PATH
|
10 |
-
ARG LOG_PATH
|
11 |
|
12 |
# Install dependencies
|
13 |
RUN apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-dev chromium
|
@@ -19,9 +19,7 @@ ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
|
|
19 |
RUN npm install -g flowise
|
20 |
|
21 |
# Configure Flowise directories using the ARG
|
22 |
-
RUN mkdir -p $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 |
|
|
|
4 |
# Arguments that can be passed at build time
|
5 |
ARG FLOWISE_PATH=/usr/local/lib/node_modules/flowise
|
6 |
ARG BASE_PATH=/root/.flowise
|
7 |
+
ARG DATABASE_PATH=$BASE_PATH
|
8 |
+
ARG APIKEY_PATH=$BASE_PATH
|
9 |
+
ARG SECRETKEY_PATH=$BASE_PATH
|
10 |
+
ARG LOG_PATH=$BASE_PATH/logs
|
11 |
|
12 |
# Install dependencies
|
13 |
RUN apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-dev chromium
|
|
|
19 |
RUN npm install -g flowise
|
20 |
|
21 |
# Configure Flowise directories using the ARG
|
22 |
+
RUN mkdir -p $LOG_PATH $FLOWISE_PATH/uploads && chmod -R 777 $LOG_PATH $FLOWISE_PATH
|
|
|
|
|
23 |
|
24 |
WORKDIR /data
|
25 |
|