Skip to content

Commit

Permalink
switch base image & simplify Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jokester committed Dec 1, 2024
1 parent 3b1870c commit 2df0c17
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM pytorch/pytorch:latest
FROM pytorch/pytorch:2.5.1-cuda11.8-cudnn9-runtime

WORKDIR /app

Expand All @@ -12,11 +12,6 @@ RUN apt-get install -y git g++ ffmpeg libsm6 libxext6 libvulkan-dev
COPY requirements.txt /app/requirements.txt

RUN pip install -r /app/requirements.txt
RUN pip install torchvision --force-reinstall
RUN pip install "numpy<2.0"

RUN apt-get remove -y g++ && \
apt-get autoremove -y

# Copy app
COPY . /app
Expand Down

0 comments on commit 2df0c17

Please sign in to comment.