Skip to content

Commit c716ae5

Browse files
Maksymilian Graczykmaksgraczyk
Maksymilian Graczyk
authored andcommittedAug 25, 2020
Dockerfile_CPU: Change the base image to Ubuntu
1 parent 138d01d commit c716ae5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed
 

‎Dockerfile_CPU

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
FROM python:3
1+
FROM ubuntu:latest
2+
RUN apt-get update && apt-get -y upgrade && apt-get -y install python3-pip build-essential
23
WORKDIR /usr/src/app
3-
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
45
COPY requirements.txt joey/
5-
RUN pip install -r joey/requirements.txt
6+
RUN pip3 install -r joey/requirements.txt
67
COPY . joey/
7-
RUN pip install -e joey
8+
RUN pip3 install -e joey
89
WORKDIR /usr/src/app/joey

0 commit comments

Comments
 (0)
Please sign in to comment.