Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +7 -1
Dockerfile
CHANGED
@@ -7,7 +7,13 @@ RUN apt-get update && apt-get install -y \
|
|
7 |
build-essential
|
8 |
|
9 |
WORKDIR /app
|
10 |
-
|
|
|
|
|
|
|
|
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
|
|
|
|
13 |
CMD ["python3", "app.py"]
|
|
|
7 |
build-essential
|
8 |
|
9 |
WORKDIR /app
|
10 |
+
|
11 |
+
# Upgrade pip first
|
12 |
+
RUN pip install --no-cache-dir --upgrade pip
|
13 |
+
|
14 |
+
COPY requirements.txt .
|
15 |
RUN pip install --no-cache-dir -r requirements.txt
|
16 |
|
17 |
+
COPY . .
|
18 |
+
|
19 |
CMD ["python3", "app.py"]
|