blob: c6641bad7eb951a05a8f151f1862e84fa732787b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { buildDist, buildImage, checkDocker, getRepoName } from "./lib.mjs";
// Docker Hub repository name
const repoName = getRepoName();
// Check if docker is running
checkDocker();
// Build frontend dist (it will build on the host machine, TODO: build on a container?)
buildDist();
// Build full image (rootless)
buildImage(repoName, [ "nightly2-rootless" ], "nightly-rootless");
// Build full image
buildImage(repoName, [ "nightly2" ], "nightly");
|