Spaces:
Sleeping
Sleeping
fix tests calling
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -4,6 +4,7 @@ WORKDIR /code
|
|
4 |
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
|
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
COPY . .
|
@@ -18,5 +19,5 @@ WORKDIR $HOME/app
|
|
18 |
|
19 |
COPY --chown=user . $HOME/app
|
20 |
RUN chmod +x tests.sh
|
21 |
-
RUN tests.sh
|
22 |
CMD ["python", "app.py"]
|
|
|
4 |
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
+
RUN pip3 install torch torchvision torchaudio
|
8 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
9 |
|
10 |
COPY . .
|
|
|
19 |
|
20 |
COPY --chown=user . $HOME/app
|
21 |
RUN chmod +x tests.sh
|
22 |
+
RUN ./tests.sh
|
23 |
CMD ["python", "app.py"]
|