updating airgapped docker build script
This commit is contained in:
parent
daf8284a5b
commit
39aed46754
|
@ -15,7 +15,7 @@ const IMAGES = {
|
||||||
|
|
||||||
const FILES = {
|
const FILES = {
|
||||||
COMPOSE: "docker-compose.yaml",
|
COMPOSE: "docker-compose.yaml",
|
||||||
NGINX: "nginx.conf"
|
ENV: ".env"
|
||||||
}
|
}
|
||||||
|
|
||||||
const OUTPUT_DIR = path.join(__dirname, "../", "bb-airgapped")
|
const OUTPUT_DIR = path.join(__dirname, "../", "bb-airgapped")
|
||||||
|
@ -40,8 +40,7 @@ for (let image in IMAGES) {
|
||||||
|
|
||||||
// copy config files
|
// copy config files
|
||||||
copyFile(FILES.COMPOSE)
|
copyFile(FILES.COMPOSE)
|
||||||
copyFile(FILES.ENVOY)
|
copyFile(FILES.ENV)
|
||||||
copyFile(FILES.PROPERTIES)
|
|
||||||
|
|
||||||
// compress
|
// compress
|
||||||
execSync(`tar -czf bb-airgapped.tar.gz hosting/scripts/bb-airgapped`)
|
execSync(`tar -czf bb-airgapped.tar.gz hosting/scripts/bb-airgapped`)
|
||||||
|
|
Loading…
Reference in New Issue