Spaces:
Sleeping
Sleeping
updated Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
FROM python:3.9 as core
|
| 2 |
|
| 3 |
COPY ./core/requirements.txt ./requirements.txt
|
| 4 |
-
RUN pip install requirements.txt
|
| 5 |
|
| 6 |
WORKDIR /app
|
| 7 |
|
|
@@ -11,7 +11,7 @@ RUN python ./initialization.py
|
|
| 11 |
FROM python:3.9
|
| 12 |
|
| 13 |
COPY ./api/requirements.txt ./requirements.txt
|
| 14 |
-
RUN pip install requirements.txt
|
| 15 |
|
| 16 |
WORKDIR /app
|
| 17 |
COPY ./api .
|
|
|
|
| 1 |
FROM python:3.9 as core
|
| 2 |
|
| 3 |
COPY ./core/requirements.txt ./requirements.txt
|
| 4 |
+
RUN pip install -r requirements.txt
|
| 5 |
|
| 6 |
WORKDIR /app
|
| 7 |
|
|
|
|
| 11 |
FROM python:3.9
|
| 12 |
|
| 13 |
COPY ./api/requirements.txt ./requirements.txt
|
| 14 |
+
RUN pip install -r requirements.txt
|
| 15 |
|
| 16 |
WORKDIR /app
|
| 17 |
COPY ./api .
|