-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
35 lines (30 loc) · 819 Bytes
/
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
FROM python:3.8
RUN apt-get update -y \
&& apt-get upgrade -y
RUN curl -sL https://deb.nodesource.com/setup_12.x |bash - \
&& apt-get install -y --no-install-recommends \
wget \
git \
vim \
curl \
make \
cmake \
nodejs \
&& apt-get autoremove -y \
&& apt-get clean \
&& rm -rf \
/var/lib/apt/lists/* \
/var/cache/apt/* \
/usr/local/src/* \
/tmp/*
# install Kite Engine
RUN wget https://linux.kite.com/dls/linux/current && \
chmod 777 current && \
sed -i 's/"--no-launch"//g' current > /dev/null && \
./current --install ./kite-installer
# install python library
COPY requirements.txt .
RUN pip3 install --upgrade pip && \
pip3 install --no-cache-dir -r requirements.txt \
&& rm -rf ~/.cache/pip
WORKDIR /home/work/