-
Notifications
You must be signed in to change notification settings - Fork 0
/
backend.Dockerfile
41 lines (25 loc) · 862 Bytes
/
backend.Dockerfile
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
37
38
39
40
41
FROM python:3.6
MAINTAINER "vishxl [[email protected]]"
COPY ss_gl_rsa .
RUN chmod 400 ss_gl_rsa
RUN apt-get update && \
apt-get install -y \
git \
curl
RUN apt-get install libsndfile1 -y
RUN mkdir /app && \
cd /app \
RUN cp ../ss_gl_rsa /app
RUN cat ss_gl_rsa
RUN mkdir /root/.ssh && chmod 0700 /root/.ssh
RUN eval $(ssh-agent) && \
ssh-add ss_gl_rsa && \
ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts && \
git clone [email protected]:vsalsngh/WisdumbAI.git /app
WORKDIR /app
RUN python3 -m pip install --upgrade pip &&\
pip install --default-timeout=100 --no-cache-dir -r requirements.txt && \
pip install git+https://github.com/TensorSpeech/TensorflowTTS.git
#cat requirements.txt | xargs -n 1 pip install
EXPOSE 51324
CMD ["python3", "app4.py"]