-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerFile
More file actions
28 lines (21 loc) · 747 Bytes
/
DockerFile
File metadata and controls
28 lines (21 loc) · 747 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
FROM ubuntu:bionic
ARG DEBIAN_FRONTEND=noninteractive
RUN \
apt-get update \
&& apt-get install -y -q curl gnupg \
&& curl -sSL 'http://keyserver.ubuntu.com:80/pks/lookup?op=get&search=0x8AA7AF1F1091A5FD' | apt-key add - \
&& echo 'deb [arch=amd64] http://repo.sawtooth.me/ubuntu/chime/stable bionic universe' >> /etc/apt/sources.list \
&& apt-get update \
&& apt-get install -y -q --no-install-recommends \
apt-utils \
&& apt-get install -y -q \
build-essential \
apt-transport-https \
ca-certificates \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
&& apt-get install -y nodejs
WORKDIR /processor
CMD npm install && npm start
EXPOSE 4004/tcp