Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
# Use official Python image
|
| 2 |
FROM python:3.9-slim
|
| 3 |
|
| 4 |
# Set environment variables
|
|
@@ -14,10 +14,12 @@ RUN apt-get update && apt-get install -y \
|
|
| 14 |
# Set working directory
|
| 15 |
WORKDIR /app
|
| 16 |
|
| 17 |
-
# Copy requirements file and install dependencies
|
| 18 |
COPY requirements.txt .
|
| 19 |
RUN pip install --upgrade pip
|
| 20 |
RUN pip install -r requirements.txt
|
|
|
|
|
|
|
| 21 |
RUN pip install ipython
|
| 22 |
|
| 23 |
# Copy application files
|
|
|
|
| 1 |
+
# Use the official Python image
|
| 2 |
FROM python:3.9-slim
|
| 3 |
|
| 4 |
# Set environment variables
|
|
|
|
| 14 |
# Set working directory
|
| 15 |
WORKDIR /app
|
| 16 |
|
| 17 |
+
# Copy requirements file and install Python dependencies
|
| 18 |
COPY requirements.txt .
|
| 19 |
RUN pip install --upgrade pip
|
| 20 |
RUN pip install -r requirements.txt
|
| 21 |
+
|
| 22 |
+
# Install IPython
|
| 23 |
RUN pip install ipython
|
| 24 |
|
| 25 |
# Copy application files
|