We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 138d01d commit c716ae5Copy full SHA for c716ae5
Dockerfile_CPU
@@ -1,8 +1,9 @@
1
-FROM python:3
+FROM ubuntu:latest
2
+RUN apt-get update && apt-get -y upgrade && apt-get -y install python3-pip build-essential
3
WORKDIR /usr/src/app
-RUN pip install torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
4
+RUN pip3 install torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
5
COPY requirements.txt joey/
-RUN pip install -r joey/requirements.txt
6
+RUN pip3 install -r joey/requirements.txt
7
COPY . joey/
-RUN pip install -e joey
8
+RUN pip3 install -e joey
9
WORKDIR /usr/src/app/joey
0 commit comments