Commit
·
6cf241f
1
Parent(s):
50aef51
Docker file changes
Browse files- Dockerfile +5 -6
Dockerfile
CHANGED
@@ -20,9 +20,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
20 |
# ---- app code ----
|
21 |
COPY . /app
|
22 |
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]
|
|
|
20 |
# ---- app code ----
|
21 |
COPY . /app
|
22 |
|
23 |
+
WORKDIR /app
|
24 |
+
COPY requirements.txt .
|
25 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
26 |
+
COPY . .
|
27 |
+
CMD ["gunicorn","-b","0.0.0.0:7860","app:app"]
|
|