Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -16,13 +16,13 @@ RUN apt-get update && apt-get install -y \
|
|
16 |
# Upgrade pip
|
17 |
RUN pip install --no-cache-dir pip==22.3.1
|
18 |
|
19 |
-
#
|
20 |
COPY requirements.txt .
|
21 |
RUN pip install --no-cache-dir -r requirements.txt
|
22 |
|
23 |
-
# Copy application files
|
24 |
COPY . /app
|
25 |
WORKDIR /app
|
26 |
|
27 |
# Set the entry point
|
28 |
-
CMD ["python", "app.py"]
|
|
|
16 |
# Upgrade pip
|
17 |
RUN pip install --no-cache-dir pip==22.3.1
|
18 |
|
19 |
+
# Copy and install dependencies from requirements.txt
|
20 |
COPY requirements.txt .
|
21 |
RUN pip install --no-cache-dir -r requirements.txt
|
22 |
|
23 |
+
# Copy the application files
|
24 |
COPY . /app
|
25 |
WORKDIR /app
|
26 |
|
27 |
# Set the entry point
|
28 |
+
CMD ["python", "app.py"]
|