Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -32,6 +32,7 @@ RUN apt-get update && \
|
|
32 |
# Set LLVM_CONFIG before building llvmlite (if needed)
|
33 |
ENV LLVM_CONFIG=/usr/bin/llvm-config-14
|
34 |
|
|
|
35 |
# Install numpy first for numba compatibility
|
36 |
RUN pip install --no-cache-dir numpy==1.22.4
|
37 |
|
@@ -56,4 +57,4 @@ ENV FLASK_APP=app.py \
|
|
56 |
FLASK_ENV=production
|
57 |
|
58 |
# Start the application with Gunicorn
|
59 |
-
CMD ["gunicorn",
|
|
|
32 |
# Set LLVM_CONFIG before building llvmlite (if needed)
|
33 |
ENV LLVM_CONFIG=/usr/bin/llvm-config-14
|
34 |
|
35 |
+
RUN pip install librosa==0.9.2 numba==0.55.2 llvmlite==0.38.0
|
36 |
# Install numpy first for numba compatibility
|
37 |
RUN pip install --no-cache-dir numpy==1.22.4
|
38 |
|
|
|
57 |
FLASK_ENV=production
|
58 |
|
59 |
# Start the application with Gunicorn
|
60 |
+
CMD ["gunicorn","0.0.0.0:7860","app:app"]
|