Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
# Use a recent, slim Python base image
|
| 2 |
-
FROM neo4j:
|
|
|
|
| 3 |
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /app
|
|
@@ -15,7 +16,7 @@ COPY requirements.txt .
|
|
| 15 |
# Install dependencies
|
| 16 |
# --no-cache-dir reduces image size, beneficial for smaller final images.
|
| 17 |
# --default-timeout=100 increases timeout for pip install (can be adjusted if needed).
|
| 18 |
-
RUN pip install -
|
| 19 |
|
| 20 |
# Copy the application code into the container
|
| 21 |
# This assumes your FastAPI application is in a file named 'main.py'.
|
|
|
|
| 1 |
# Use a recent, slim Python base image
|
| 2 |
+
FROM neo4j:ubi9
|
| 3 |
+
|
| 4 |
|
| 5 |
# Set the working directory in the container
|
| 6 |
WORKDIR /app
|
|
|
|
| 16 |
# Install dependencies
|
| 17 |
# --no-cache-dir reduces image size, beneficial for smaller final images.
|
| 18 |
# --default-timeout=100 increases timeout for pip install (can be adjusted if needed).
|
| 19 |
+
RUN pip install -r requirements.txt
|
| 20 |
|
| 21 |
# Copy the application code into the container
|
| 22 |
# This assumes your FastAPI application is in a file named 'main.py'.
|