Spaces:
Sleeping
Sleeping
acecalisto3
commited on
Commit
•
c83ff87
1
Parent(s):
e015aa2
Update dockerfile.yml
Browse files- dockerfile.yml +1 -2
dockerfile.yml
CHANGED
@@ -6,8 +6,7 @@ WORKDIR /app
|
|
6 |
|
7 |
COPY . .
|
8 |
python -m pip install --upgrade pip
|
9 |
-
RUN pip install -r requirements.txt
|
10 |
-
|
11 |
CMD ["python", "app.py"]
|
12 |
|
13 |
# Copy package.json and install npm packages
|
|
|
6 |
|
7 |
COPY . .
|
8 |
python -m pip install --upgrade pip
|
9 |
+
RUN --mount=target=requirements.txt,source=requirements.txt pip install --no-cache-dir -r requirements.txt
|
|
|
10 |
CMD ["python", "app.py"]
|
11 |
|
12 |
# Copy package.json and install npm packages
|