Skip to content

Commit ccaed1f

Browse files
Create Dockerfile
1 parent 6fb0030 commit ccaed1f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Dockerfile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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+
USER user
6+
ENV HOME=/home/user \
7+
PATH=/home/user/.local/bin:$PATH
8+
9+
WORKDIR $HOME/app
10+
11+
COPY --chown=user . $HOME/app
12+
13+
RUN pip install langflow>==0.0.86 -U --user
14+
CMD ["python", "-m", "langflow", "--host", "0.0.0.0", "--port", "7860"]

0 commit comments

Comments
 (0)