Spaces:
Sleeping
Sleeping
GreenTeaLatte
commited on
Commit
•
167f5c1
1
Parent(s):
8b447db
path
Browse files- Dockerfile +9 -1
Dockerfile
CHANGED
@@ -3,7 +3,7 @@ USER root
|
|
3 |
|
4 |
# Arguments that can be passed at build time
|
5 |
ARG FLOWISE_PATH=/usr/local/lib/node_modules/flowise
|
6 |
-
ARG BASE_PATH=/
|
7 |
ARG DATABASE_PATH=$BASE_PATH
|
8 |
ARG APIKEY_PATH=$BASE_PATH
|
9 |
ARG SECRETKEY_PATH=$BASE_PATH
|
@@ -11,6 +11,14 @@ ARG LOG_PATH=$BASE_PATH/logs
|
|
11 |
ARG FLOWISE_USERNAME=$FLOWISE_USERNAME
|
12 |
ARG FLOWISE_PASSWORD=$FLOWISE_PASSWORD
|
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
# Install dependencies
|
15 |
RUN apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-dev chromium
|
16 |
|
|
|
3 |
|
4 |
# Arguments that can be passed at build time
|
5 |
ARG FLOWISE_PATH=/usr/local/lib/node_modules/flowise
|
6 |
+
ARG BASE_PATH=/data/.flowise
|
7 |
ARG DATABASE_PATH=$BASE_PATH
|
8 |
ARG APIKEY_PATH=$BASE_PATH
|
9 |
ARG SECRETKEY_PATH=$BASE_PATH
|
|
|
11 |
ARG FLOWISE_USERNAME=$FLOWISE_USERNAME
|
12 |
ARG FLOWISE_PASSWORD=$FLOWISE_PASSWORD
|
13 |
|
14 |
+
# Set the ARGs as ENV
|
15 |
+
ENV FLOWISE_PATH=$FLOWISE_PATH
|
16 |
+
ENV BASE_PATH=$BASE_PATH
|
17 |
+
ENV DATABASE_PATH=$DATABASE_PATH
|
18 |
+
ENV APIKEY_PATH=$APIKEY_PATH
|
19 |
+
ENV SECRETKEY_PATH=$SECRETKEY_PATH
|
20 |
+
ENV LOG_PATH=$LOG_PATH
|
21 |
+
|
22 |
# Install dependencies
|
23 |
RUN apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-dev chromium
|
24 |
|