Spaces:
Running
Running
petrsovadina
commited on
Commit
•
77d9b8f
1
Parent(s):
2d27a3f
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -10,6 +10,10 @@ WORKDIR /code
|
|
10 |
|
11 |
COPY ./requirements.txt /code/requirements.txt
|
12 |
|
|
|
|
|
|
|
|
|
13 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
14 |
|
15 |
EXPOSE 7860
|
|
|
10 |
|
11 |
COPY ./requirements.txt /code/requirements.txt
|
12 |
|
13 |
+
# Nejprve nainstalujeme numpy
|
14 |
+
RUN pip3 install --no-cache-dir numpy==1.21.6
|
15 |
+
|
16 |
+
# Potom nainstalujeme zbytek závislostí
|
17 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
18 |
|
19 |
EXPOSE 7860
|