leek commited on
Commit
c3f20cf
1 Parent(s): bf8e4e7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -10
Dockerfile CHANGED
@@ -3,11 +3,11 @@ 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=/data/.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
@@ -25,11 +25,11 @@ WORKDIR /data
25
 
26
  # configuration for deploying on huggingface
27
  ENV PORT=7860
28
- ENV BASE_PATH=/data/.flowise
29
- ENV DATABASE_PATH=$BASE_PATH
30
- ENV APIKEY_PATH=$BASE_PATH
31
- ENV SECRETKEY_PATH=$BASE_PATH
32
- ENV LOG_PATH=$BASE_PATH/logs
33
 
34
 
35
  # otherwise may lose production data
 
3
 
4
  # Arguments that can be passed at build time
5
  ARG FLOWISE_PATH=/usr/local/lib/node_modules/flowise
6
+ ENV BASE_PATH=/data/.flowise
7
+ ENV DATABASE_PATH=$BASE_PATH
8
+ ENV APIKEY_PATH=$BASE_PATH
9
+ ENV SECRETKEY_PATH=$BASE_PATH
10
+ ENV 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
 
25
 
26
  # configuration for deploying on huggingface
27
  ENV PORT=7860
28
+ # ENV BASE_PATH=/data/.flowise
29
+ # ENV DATABASE_PATH=$BASE_PATH
30
+ # ENV APIKEY_PATH=$BASE_PATH
31
+ # ENV SECRETKEY_PATH=$BASE_PATH
32
+ # ENV LOG_PATH=$BASE_PATH/logs
33
 
34
 
35
  # otherwise may lose production data