-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (32 loc) · 822 Bytes
/
Dockerfile
File metadata and controls
36 lines (32 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM continuumio/miniconda3:4.6.14
RUN apt-get update && apt-get install -y sox libsox-fmt-mp3
RUN conda install -c conda-forge --quiet --yes \
Python=3.6.8 \
aubio=0.4.9 \
yaafe=0.70 \
librosa=0.7.1 \
pandas=0.25.1 \
numpy=1.17.2 \
xarray=0.14 \
joblib=0.14 \
matplotlib=3.1.1 \
scikit-learn=0.21.3 \
scipy=1.3.1 \
boto3=1.9.250 \
umap-learn=0.3.10 \
python-dotenv=0.10.3 \
sqlalchemy=1.3.10 \
psycopg2=2.8.3 \
datashader=0.8.0 \
gunicorn=19.9.0
RUN pip install --no-cache-dir httpagentparser==1.9.0 \
ipinfo==3.0.0 \
noisereduce==1.0.1 \
sox==1.3.7 \
dash==1.4.1 \
dash_audio_components \
dash_upload_components
COPY . /app
WORKDIR /app
EXPOSE 8080
CMD ["gunicorn", "-w", "8", "-b", "0.0.0.0:8080", "application:server"]