Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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
|
| 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
|