3dc9cd584a
* Add a mobymask-v3 stack * Fix Nitro deployment script and add watcher container * Setup Nitro config * Run build after setting Nitro addresses * Setup consensus config * Add a container for web-app * Use node 18 for the web-app * Persist Nitro node data to a volume * Add clean up steps * Update query rates
21 lines
411 B
Docker
21 lines
411 B
Docker
FROM ubuntu:22.04
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y curl wget gnupg build-essential \
|
|
&& curl --silent --location https://deb.nodesource.com/setup_18.x | bash - \
|
|
&& apt-get update \
|
|
&& apt-get install -y nodejs git busybox jq \
|
|
&& node -v
|
|
|
|
RUN corepack enable \
|
|
&& yarn --version
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
|
|
RUN echo "Building mobymask-v2-watcher-ts" && \
|
|
yarn && yarn build
|
|
|
|
WORKDIR /app
|