-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
45 lines (38 loc) · 999 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
36
37
38
39
40
41
42
43
44
45
FROM ubuntu:22.04
ARG uid=1000
RUN apt-get update -y && apt-get install -y \
git \
wget \
python3 \
python3-pip \
python-setuptools \
python3-nacl \
apt-transport-https \
ca-certificates \
supervisor \
gettext-base \
software-properties-common \
curl
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get install -y nodejs
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CE7709D068DB5E88
ARG indy_stream=stable
RUN echo "deb http://security.ubuntu.com/ubuntu focal-security main" | tee /etc/apt/sources.list.d/focal-security.list
RUN add-apt-repository "deb https://repo.sovrin.org/sdk/deb bionic $indy_stream"
RUN useradd -ms /bin/bash -u $uid indy
RUN apt-get update -y && apt-get install -y \
libssl1.1 \
libsodium-dev \
libzmq3-dev \
vim \
libindy \
indy-cli \
libnullpay \
libvcx
RUN rm /etc/apt/sources.list.d/focal-security.list
RUN mkdir /app
COPY . /app
WORKDIR /app
RUN npm install
CMD ["npm", "start"]
EXPOSE 5000