-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
42 lines (23 loc) · 712 Bytes
/
Dockerfile
File metadata and controls
42 lines (23 loc) · 712 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
37
38
39
40
41
FROM ubuntu
ARG DEBIAN_FRONTEND=noninteractive
RUN apt update
RUN apt install git make cmake g++ libssl-dev zlib1g-dev wget curl -y
ARG DEBIAN_FRONTEND=noninteractive
WORKDIR /root
RUN git clone --recursive https://github.com/newton-blockchain/ton.git
WORKDIR /root/ton
RUN mkdir /root/liteclient-build
WORKDIR /root/liteclient-build
RUN cmake /root/ton
RUN cmake --build . --target lite-client
RUN cmake --build . --target func
# RUN cmake --build . --target fift
WORKDIR /
# RUN apt-get install curl
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt-get install nodejs -y
RUN mkdir /node-server
WORKDIR /node-server
COPY ./node-server .
RUN npm install
CMD npm run start