Skip to content

Commit

Permalink
[ADD] gcsfuse to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCretois committed Sep 27, 2023
1 parent 8b29db7 commit 96f8eb8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM python:3.8
FROM python:3.8-bullseye

ARG PACKAGES="ffmpeg build-essential unzip"
ARG PACKAGES="ffmpeg build-essential unzip gcsfuse"

ARG DEBIAN_FRONTEND=noninteractive
RUN \
echo "deb https://packages.cloud.google.com/apt gcsfuse-bullseye main" | tee /etc/apt/sources.list.d/gcsfuse.list && \
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \
apt-get update && \
apt-get install -qq $PACKAGES && \
rm -rf /var/lib/apt/lists/*
Expand All @@ -24,6 +26,8 @@ COPY . ./
RUN poetry config virtualenvs.create false
RUN poetry install --no-root



ENV PYTHONPATH "${PYTHONPATH}:/app:/app/audioclip:/app:/app/src"
ENTRYPOINT [ "./entrypoint.sh" ]

0 comments on commit 96f8eb8

Please sign in to comment.