xaochNYU commited on
Commit
5e4d75c
·
verified ·
1 Parent(s): e1f434c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -1,9 +1,6 @@
1
  # Use the latest version of langflow
2
  FROM langflowai/langflow:latest
3
 
4
- RUN useradd -m -u 1000 user
5
- USER user
6
- ENV PATH="/home/user/.local/bin:$PATH"
7
 
8
  # Create accessible folders and set the working directory in the container
9
  RUN mkdir /app/flows
@@ -13,7 +10,7 @@ WORKDIR /app
13
  # Copy the flows, optional components, and langflow-config-dir folders to the container
14
  COPY flows /app/flows
15
  COPY langflow-config-dir /app/langflow-config-dir
16
- COPY --chown=user app.py /app/app.py
17
 
18
  # copy docker.env file
19
  COPY docker.env /app/.env
 
1
  # Use the latest version of langflow
2
  FROM langflowai/langflow:latest
3
 
 
 
 
4
 
5
  # Create accessible folders and set the working directory in the container
6
  RUN mkdir /app/flows
 
10
  # Copy the flows, optional components, and langflow-config-dir folders to the container
11
  COPY flows /app/flows
12
  COPY langflow-config-dir /app/langflow-config-dir
13
+ COPY app.py /app/app.py
14
 
15
  # copy docker.env file
16
  COPY docker.env /app/.env