GabrielLogspace commited on
Commit
9e7c6b0
1 Parent(s): 8a75462

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -2
Dockerfile CHANGED
@@ -1,5 +1,6 @@
1
- FROM logspace/langflow:1.0-alpha
2
 
 
3
  RUN useradd -m -u 1000 user
4
 
5
  # Create the directory and set the permissions
@@ -14,4 +15,9 @@ ENV HOME=/home/user \
14
 
15
  WORKDIR $HOME/app
16
 
17
- COPY --chown=user . $HOME/app
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
 
3
+ RUN apt-get update && apt-get install gcc g++ git make -y
4
  RUN useradd -m -u 1000 user
5
 
6
  # Create the directory and set the permissions
 
15
 
16
  WORKDIR $HOME/app
17
 
18
+ COPY --chown=user . $HOME/app
19
+
20
+ RUN pip install langflow --pre -U --user
21
+
22
+
23
+ CMD python -m langflow run --host 0.0.0.0 --port 7860 --log-level debug