zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

commit a6537e8876ba209c10ee8d422649b234ffe07d6f
parent 19e83ee60da55c097f1f517ded545239bcd0cbca
Author: srfsh <dev@srf.sh>
Date:   Tue, 19 Jul 2022 12:34:22 +0300

devop: tiny fix

Diffstat:
M.gitignore | 2+-
Adevop/zvmlet-dockerfile | 21+++++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore @@ -105,7 +105,7 @@ /devop/* !/devop/Dockerfile !/devop/.docker-compose.templ -!/devop/Dockerfile-zvmlet +!/devop/zvmlet-dockerfile # github stuff !/.github/ diff --git a/devop/zvmlet-dockerfile b/devop/zvmlet-dockerfile @@ -0,0 +1,21 @@ +ARG NODE_VERSION=16 +# Importing node12 docker image +FROM node:$NODE_VERSION-alpine + +# Add dependencies +RUN apk add git python3 make g++ + +# Installing restroom +RUN yarn create restroom --all restroom-mw +WORKDIR /restroom-mw + +# Configure restroom +ENV HTTP_PORT=3000 +ENV HTTPS_PORT=3301 +ENV OPENAPI=true +ENV FILES_DIR=./contracts +ENV CHAIN_EXT=chain +ENV YML_EXT=yml + +# yarn install and run +CMD yarn start