forked from cerc-io/stack-orchestrator
Fix Docker build
This commit is contained in:
parent
202c68d996
commit
90d92c3e15
@ -18,10 +18,12 @@ RUN find . -name 'dist' | xargs -n1 rm -rf
|
|||||||
RUN yarn
|
RUN yarn
|
||||||
WORKDIR /app/packages/nitro-gui
|
WORKDIR /app/packages/nitro-gui
|
||||||
RUN VITE_RPC_HOST=CERC_RUNTIME_ENV_RPC_HOST yarn build
|
RUN VITE_RPC_HOST=CERC_RUNTIME_ENV_RPC_HOST yarn build
|
||||||
WORKDIR /app/packages/nitro-auth-gui
|
RUN if [ -d /app/packages/nitro-auth-gui ]; then \
|
||||||
RUN VITE_RPC_URL=CERC_RUNTIME_ENV_RPC_URL VITE_TARGET_URL=CERC_RUNTIME_ENV_TARGET_URL yarn build
|
cd /app/packages/nitro-auth-gui && \
|
||||||
|
VITE_RPC_URL=CERC_RUNTIME_ENV_RPC_URL VITE_TARGET_URL=CERC_RUNTIME_ENV_TARGET_URL yarn build; \
|
||||||
|
fi
|
||||||
WORKDIR /app/packages/nitro-auth
|
WORKDIR /app/packages/nitro-auth
|
||||||
RUN yarn build
|
RUN if [ -d /app/packages/nitro-auth ]; then cd /app/packages/nitro-auth && yarn build; fi
|
||||||
|
|
||||||
FROM node:18-bullseye-slim
|
FROM node:18-bullseye-slim
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
@ -2,7 +2,9 @@ version: "1.0"
|
|||||||
name: go-nitro-auth
|
name: go-nitro-auth
|
||||||
description: "Stack to demonstrate payments between various services"
|
description: "Stack to demonstrate payments between various services"
|
||||||
repos:
|
repos:
|
||||||
# nitro repo
|
# for nitro-contracts
|
||||||
|
- github.com/cerc-io/ts-nitro@v0.1.15
|
||||||
|
# for go-nitro and nitro-rpc-client
|
||||||
- github.com/cerc-io/go-nitro@telackey/update
|
- github.com/cerc-io/go-nitro@telackey/update
|
||||||
containers:
|
containers:
|
||||||
# nitro
|
# nitro
|
||||||
|
Loading…
Reference in New Issue
Block a user