diff --git a/myproject/Dockerfile b/myproject/Dockerfile index 5c0c8d92ec646f39341d138960e27fa663e2295a..1163b105836c4fa1a59730e54830ee46465cd226 100644 --- a/myproject/Dockerfile +++ b/myproject/Dockerfile @@ -31,6 +31,13 @@ WORKDIR /usr/src/app COPY ./requirements.txt . RUN pip install --upgrade pip && pip install -r requirements.txt +# Update the package list +RUN apt-get update + +# Install libsndfile +RUN apt-get install -y libsndfile1 + + # Copy project files from the builder stage and the current directory COPY --from=builder /usr/src/app/myapp/static ./myapp/static COPY . . diff --git a/myproject/requirements.txt b/myproject/requirements.txt index 1187192210ef2acbe1c79d208646a0f2e9dfc200..287a93c4c764530b81983644f4a67744f38e5009 100644 --- a/myproject/requirements.txt +++ b/myproject/requirements.txt @@ -34,4 +34,7 @@ soxr==0.3.7 threadpoolctl==3.3.0 typing_extensions==4.10.0 urllib3==2.2.1 -reportlab==4.1.0 \ No newline at end of file +reportlab==4.1.0 +chardet==5.2.0 +charset-normalizer==3.3.2 +pillow==10.2.0 \ No newline at end of file diff --git a/myproject/temp_audio.wav b/myproject/temp_audio.wav index 16db7104451f5e6bf8f9129cca860dc084db1789..b47a440af0d73187525a2566509da3183762a8e5 100644 Binary files a/myproject/temp_audio.wav and b/myproject/temp_audio.wav differ