Spaces:
Running
Running
GabrielLogspace
commited on
Commit
•
215afc3
1
Parent(s):
ea55466
Update Dockerfile
Browse files- Dockerfile +1 -19
Dockerfile
CHANGED
@@ -1,19 +1 @@
|
|
1 |
-
FROM
|
2 |
-
|
3 |
-
RUN apt-get update && apt-get install gcc g++ git make -y
|
4 |
-
RUN useradd -m -u 1000 user
|
5 |
-
# Create the directory and set the permissions
|
6 |
-
RUN mkdir -p /home/langflow && chown user:user /home/langflow
|
7 |
-
USER user
|
8 |
-
ENV HOME=/home/user \
|
9 |
-
PATH=/home/user/.local/bin:$PATH \
|
10 |
-
LANGFLOW_DATABASE_URL=sqlite:////home/langflow/langflow.db \
|
11 |
-
LANGFLOW_AUTO_LOGIN=True
|
12 |
-
|
13 |
-
WORKDIR $HOME/app
|
14 |
-
|
15 |
-
COPY --chown=user . $HOME/app
|
16 |
-
|
17 |
-
RUN pip install langflow==0.5.0 -U --user
|
18 |
-
|
19 |
-
CMD python -m langflow run --host 0.0.0.0 --port 7860 --remove-api-keys --log-level debug
|
|
|
1 |
+
FROM langflowai/langflow:latest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|