Skip to content

Commit 372fec9

Browse files
authored
Merge pull request #29 from MJedr/refactor-structure
refactor docker strucutre
2 parents 5f60c2d + bb23ea3 commit 372fec9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Dockerfile renamed to docker/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ FROM pytorch/pytorch:0.4_cuda9_cudnn7
2525
COPY instance-data /opt/conda/var/inspire_classifier.app-instance/
2626
COPY boot.sh requirements.txt /app/
2727
WORKDIR /app
28-
RUN apt-get update && apt-get -y install ffmpeg libglib2.0-0 libsm6 libxrender1 libxext6 build-essential git \
29-
&& python -m pip install pip --upgrade \
28+
RUN apt-get update && apt-get -y install ffmpeg libglib2.0-0 libsm6 libxrender1 libxext6 build-essential git
29+
RUN python -m pip install --upgrade pip \
30+
&& pip install --upgrade setuptools wheel \
3031
&& pip install --upgrade --no-deps --force-reinstall https://download.pytorch.org/whl/cpu/torch-0.3.1-cp36-cp36m-linux_x86_64.whl \
3132
&& pip freeze \
32-
&& pip install --upgrade setuptools \
33-
&& pip install -r requirements.txt \
33+
&& pip install -r requirements.txt -v \
3434
&& pip freeze \
3535
&& apt-get -y remove build-essential git \
3636
&& apt-get -y autoremove && apt-get clean
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)