mihirjadhav commited on
Commit
1efdf5f
1 Parent(s): a8c9a80

Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ RUN apt-get update && apt-get install gcc g++ git make -y && apt-get clean \
4
+ && rm -rf /var/lib/apt/lists/*
5
+ RUN useradd -m -u 1000 user
6
+ USER user
7
+ ENV HOME=/home/user \
8
+ PATH=/home/user/.local/bin:$PATH
9
+
10
+ WORKDIR $HOME/app
11
+
12
+ COPY --chown=user . $HOME/app
13
+
14
+ RUN pip install langflow>==0.5.0 -U --user
15
+ CMD ["python", "-m", "langflow", "run", "--host", "0.0.0.0", "--port", "7860"]