gargaman07 commited on
Commit
a4dc38c
·
verified ·
1 Parent(s): 8ef8df9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -2
Dockerfile CHANGED
@@ -8,8 +8,21 @@ WORKDIR /app
8
  # - git: for installing python packages from git
9
  # - ffmpeg: for audio processing with pydub/librosa
10
  RUN apt-get update && \
11
- apt-get install -y --no-install-recommends git ffmpeg && \
12
- rm -rf /var/lib/apt/lists/*
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
  # Copy the requirements file into the container
15
  COPY requirements.txt .
 
8
  # - git: for installing python packages from git
9
  # - ffmpeg: for audio processing with pydub/librosa
10
  RUN apt-get update && \
11
+ apt-get install -y --no-install-recommends \
12
+ git \
13
+ ffmpeg \
14
+ libsndfile1 \
15
+ libsndfile1-dev \
16
+ build-essential \
17
+ && rm -rf /var/lib/apt/lists/*
18
+
19
+ ENV NUMBA_CACHE_DIR=/tmp/numba_cache
20
+ ENV NUMBA_DISABLE_JIT=1
21
+ ENV NUMBA_DISABLE_CUDA=1
22
+ ENV NUMBA_DISABLE_LLVM=1
23
+ ENV PYTHONPATH=/app
24
+
25
+ RUN mkdir -p /tmp/numba_cache && chmod 777 /tmp/numba_cache
26
 
27
  # Copy the requirements file into the container
28
  COPY requirements.txt .