Skip to content

Commit

Permalink
adds necessary build args to support local deployment in container image
Browse files Browse the repository at this point in the history
Signed-off-by: Yorgos Saslis <yorgos.work@proton.me>
  • Loading branch information
gsaslis committed Jun 28, 2024
1 parent 820dd12 commit f47a7e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ FROM node:20 AS build

WORKDIR /app

ARG FALLBACK_PUBLIC_EXPLORER
ARG DEFAULT_LOCAL_HTTPD_PORT
ARG PLUGINS_RADICLE_PLANNING_BOARDS_ORIGIN

# copy project file
COPY package.json package-lock.json ./
Expand Down
4 changes: 4 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ services:
build:
dockerfile: ./Containerfile
context: .
args:
FALLBACK_PUBLIC_EXPLORER: http://localhost:3080/nodes/$host/$rid$path
DEFAULT_LOCAL_HTTPD_PORT: 3080
PLUGINS_RADICLE_PLANNING_BOARDS_ORIGIN: http://localhost:3090
ports:
- "3080:80"
volumes:
Expand Down

0 comments on commit f47a7e4

Please sign in to comment.