Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -14,14 +14,14 @@ COPY requirements.txt .
|
|
| 14 |
|
| 15 |
# Install the necessary libraries
|
| 16 |
# We include 'openenv' specifically to fix the ModuleNotFoundError
|
|
|
|
| 17 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 18 |
pip install --no-cache-dir \
|
| 19 |
fastapi \
|
| 20 |
uvicorn \
|
| 21 |
pydantic \
|
| 22 |
openai \
|
| 23 |
-
openenv
|
| 24 |
-
|
| 25 |
# Copy the rest of your application code
|
| 26 |
COPY . .
|
| 27 |
|
|
|
|
| 14 |
|
| 15 |
# Install the necessary libraries
|
| 16 |
# We include 'openenv' specifically to fix the ModuleNotFoundError
|
| 17 |
+
# Replace your previous RUN pip install line with this:
|
| 18 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 19 |
pip install --no-cache-dir \
|
| 20 |
fastapi \
|
| 21 |
uvicorn \
|
| 22 |
pydantic \
|
| 23 |
openai \
|
| 24 |
+
openenv-core==0.1.5
|
|
|
|
| 25 |
# Copy the rest of your application code
|
| 26 |
COPY . .
|
| 27 |
|