-
Notifications
You must be signed in to change notification settings - Fork 0
/
client.Dockerfile
39 lines (26 loc) · 854 Bytes
/
client.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
FROM ubuntu:18.04
MAINTAINER "vishxl [[email protected]]"
COPY tr2enkey .
RUN chmod 400 tr2enkey
RUN apt-get update && \
apt-get install -y \
git \
curl \
python3-distutils
RUN apt-get install python3 -y
RUN curl -O https://bootstrap.pypa.io/get-pip.py && \
python3 get-pip.py && \
rm get-pip.py
RUN mkdir /app && \
cd /app \
RUN cat tr2enkey
RUN mkdir /root/.ssh && chmod 0700 /root/.ssh
RUN eval $(ssh-agent) && \
ssh-add tr2enkey && \
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts && \
git clone --single-branch --branch tr_male_frontend [email protected]:vishxl/WisdumbAI.git /app
WORKDIR /app
RUN python3 -m pip install --upgrade pip &&\
pip install --default-timeout=100 --no-cache-dir -r requirements.txt
EXPOSE 56789
CMD ["python3", "app.py"]