forked from PatrickDuncan/cleansio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (22 loc) · 884 Bytes
/
Dockerfile
File metadata and controls
29 lines (22 loc) · 884 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
FROM python:3.5
USER root
WORKDIR /root
COPY . cleansio
#===============================================================================
# Install Libraries
#===============================================================================
RUN apt-get update && \
apt-get -qqy install \
# For pydub
libav-tools \
libavcodec-extra
WORKDIR cleansio
RUN pip install -r requirements.txt
#===============================================================================
# Set Google Speech API
#===============================================================================
ENV GOOGLE_APPLICATION_CREDENTIALS=/google-cloud-speech-api.json
#===============================================================================
# Execute cleansio
#===============================================================================
ENTRYPOINT ["python", "cleansio/cleansio.py"]