Spaces:
Sleeping
Sleeping
taowang1993
commited on
Update Dockerfile
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
FROM flowiseai/flowise:latest
|
2 |
|
3 |
-
#
|
4 |
ARG BASE_PATH=/root/.flowise
|
5 |
ARG DATABASE_PATH=$BASE_PATH
|
6 |
ARG APIKEY_PATH=$BASE_PATH
|
@@ -9,9 +9,9 @@ ARG LOG_PATH=$BASE_PATH/logs
|
|
9 |
ARG BLOB_STORAGE_PATH=$BASE_PATH/storage
|
10 |
ARG FLOWISE_PATH=/usr/local/lib/node_modules/flowise
|
11 |
|
12 |
-
#
|
13 |
-
RUN mkdir -p $LOG_PATH $FLOWISE_PATH/logs
|
14 |
-
|
|
|
|
|
15 |
|
16 |
-
# Set the working directory
|
17 |
-
WORKDIR /data
|
|
|
1 |
FROM flowiseai/flowise:latest
|
2 |
|
3 |
+
# environment variables
|
4 |
ARG BASE_PATH=/root/.flowise
|
5 |
ARG DATABASE_PATH=$BASE_PATH
|
6 |
ARG APIKEY_PATH=$BASE_PATH
|
|
|
9 |
ARG BLOB_STORAGE_PATH=$BASE_PATH/storage
|
10 |
ARG FLOWISE_PATH=/usr/local/lib/node_modules/flowise
|
11 |
|
12 |
+
# create data directories and set permissions
|
13 |
+
RUN mkdir -p $LOG_PATH $FLOWISE_PATH/logs
|
14 |
+
RUN mkdir -p $FLOWISE_PATH/uploads
|
15 |
+
RUN chmod -R 777 $LOG_PATH $FLOWISE_PATH
|
16 |
+
|
17 |
|
|
|
|