Update Dockerfile
Browse files- Dockerfile +10 -0
Dockerfile
CHANGED
@@ -2,7 +2,17 @@
|
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
FROM python:3.12.5-slim
|
|
|
5 |
USER root
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
RUN apk add --no-cache git
|
7 |
|
8 |
RUN useradd -m -u 1000 user
|
|
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
FROM python:3.12.5-slim
|
5 |
+
|
6 |
USER root
|
7 |
+
|
8 |
+
ARG FLOWISE_PATH=/usr/local/lib/node_modules/flowise
|
9 |
+
ARG BASE_PATH=/root/.flowise
|
10 |
+
ARG DATABASE_PATH=$BASE_PATH
|
11 |
+
ARG APIKEY_PATH=$BASE_PATH
|
12 |
+
ARG SECRETKEY_PATH=$BASE_PATH
|
13 |
+
ARG LOG_PATH=$BASE_PATH/logs
|
14 |
+
ARG BLOB_STORAGE_PATH=$BASE_PATH/storage
|
15 |
+
|
16 |
RUN apk add --no-cache git
|
17 |
|
18 |
RUN useradd -m -u 1000 user
|