Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -18,11 +18,14 @@ WORKDIR /home/user/app
|
|
| 18 |
# Copy the requirements.txt file into the container
|
| 19 |
COPY requirements.txt .
|
| 20 |
|
|
|
|
|
|
|
|
|
|
| 21 |
# Install the required Python packages
|
| 22 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 23 |
|
| 24 |
# Copy the rest of your application code into the container
|
| 25 |
COPY . .
|
| 26 |
|
| 27 |
-
# Specify the command to run your application
|
| 28 |
# CMD ["python", "your_script.py"]
|
|
|
|
| 18 |
# Copy the requirements.txt file into the container
|
| 19 |
COPY requirements.txt .
|
| 20 |
|
| 21 |
+
# Upgrade pip to the latest version
|
| 22 |
+
RUN pip install --upgrade pip
|
| 23 |
+
|
| 24 |
# Install the required Python packages
|
| 25 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 26 |
|
| 27 |
# Copy the rest of your application code into the container
|
| 28 |
COPY . .
|
| 29 |
|
| 30 |
+
# Specify the command to run your application (modify as needed)
|
| 31 |
# CMD ["python", "your_script.py"]
|