Skip to content

Commit

Permalink
Docker file improvements (#848)
Browse files Browse the repository at this point in the history
Docker file improvements

Co-authored-by: Fedir Zadniprovskyi <[email protected]>
  • Loading branch information
fedirz and Fedir Zadniprovskyi committed May 20, 2024
1 parent f53be1e commit 65551c0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
FROM nvidia/cuda:12.0.0-runtime-ubuntu20.04

FROM nvidia/cuda:12.2.2-cudnn8-runtime-ubuntu22.04
WORKDIR /root
RUN apt-get update -y && apt-get install -y python3 python3-pip libcudnn8 libcudnn8-dev
RUN apt-get update -y && apt-get install -y python3-pip
COPY infer.py jfk.flac ./
RUN pip3 install faster-whisper

ENTRYPOINT ["python3", "infer.py"]
CMD ["python3", "infer.py"]

0 comments on commit 65551c0

Please sign in to comment.