Skip to content

Commit

Permalink
Merge pull request #29 from MJedr/refactor-structure
Browse files Browse the repository at this point in the history
refactor docker strucutre
  • Loading branch information
MJedr authored Dec 5, 2023
2 parents 5f60c2d + bb23ea3 commit 372fec9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile → docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ FROM pytorch/pytorch:0.4_cuda9_cudnn7
COPY instance-data /opt/conda/var/inspire_classifier.app-instance/
COPY boot.sh requirements.txt /app/
WORKDIR /app
RUN apt-get update && apt-get -y install ffmpeg libglib2.0-0 libsm6 libxrender1 libxext6 build-essential git \
&& python -m pip install pip --upgrade \
RUN apt-get update && apt-get -y install ffmpeg libglib2.0-0 libsm6 libxrender1 libxext6 build-essential git
RUN python -m pip install --upgrade pip \
&& pip install --upgrade setuptools wheel \
&& pip install --upgrade --no-deps --force-reinstall https://download.pytorch.org/whl/cpu/torch-0.3.1-cp36-cp36m-linux_x86_64.whl \
&& pip freeze \
&& pip install --upgrade setuptools \
&& pip install -r requirements.txt \
&& pip install -r requirements.txt -v \
&& pip freeze \
&& apt-get -y remove build-essential git \
&& apt-get -y autoremove && apt-get clean
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 372fec9

Please sign in to comment.