Spaces:
Sleeping
Sleeping
Commit
•
8a75462
1
Parent(s):
546bf51
Update Dockerfile
Browse files- Dockerfile +16 -0
Dockerfile
CHANGED
@@ -1 +1,17 @@
|
|
1 |
FROM logspace/langflow:1.0-alpha
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
FROM logspace/langflow:1.0-alpha
|
2 |
+
|
3 |
+
RUN useradd -m -u 1000 user
|
4 |
+
|
5 |
+
# Create the directory and set the permissions
|
6 |
+
RUN mkdir -p /home/langflow && chown user:user /home/langflow
|
7 |
+
|
8 |
+
USER user
|
9 |
+
ENV HOME=/home/user \
|
10 |
+
PATH=/home/user/.local/bin:$PATH \
|
11 |
+
LANGFLOW_DATABASE_URL=sqlite:////home/langflow/langflow.db \
|
12 |
+
LANGFLOW_AUTO_LOGIN=True
|
13 |
+
|
14 |
+
|
15 |
+
WORKDIR $HOME/app
|
16 |
+
|
17 |
+
COPY --chown=user . $HOME/app
|