Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
@@ -17,11 +17,11 @@ RUN echo "Cloning repository: ${GIT_REP}" && \
|
|
17 |
WORKDIR /app/fastn8n
|
18 |
|
19 |
# Set up virtual environment and dependencies
|
20 |
-
RUN python -m venv
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
|
26 |
# Ensure permissions
|
27 |
RUN chown -R user:user /app
|
|
|
17 |
WORKDIR /app/fastn8n
|
18 |
|
19 |
# Set up virtual environment and dependencies
|
20 |
+
RUN python -m venv shared_venv && \
|
21 |
+
shared_venv/bin/pip install --upgrade pip && \
|
22 |
+
shared_venv/bin/pip install --no-cache-dir -r requirements.txt && \
|
23 |
+
shared_venv/bin/pip install --no-cache-dir numpy opencv-python-headless && \
|
24 |
+
shared_venv/bin/python -m pip list > /app/pip_list.txt
|
25 |
|
26 |
# Ensure permissions
|
27 |
RUN chown -R user:user /app
|