joinmarket-webui / joinmarket-webui/jam-docker

Can `standalone` use outputs of `ui-only` build?

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
14
Forks
10
Avg merge
3h 44m
Merged PRs (30d)
3

Description

Currently both, `standalone`and `ui-only` will build the ui from scratch, meaning downloading `node_modules` and invoking `npm run build`. Can the `standalone` build reuse the outputs of `ui-only` easily? Is that compatible with the GitHub workflow approach?

It'd be cool to just define something like this in the Dockerfile for `standalone`:
```
FROM ghcr.io/joinmarket-webui/joinmarket-webui-dev-ui-only:vX.X.X AS ui-only
COPY --from=ui-only /app /app
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.