Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
63fbecd194
commit
c977fdbcaa
@ -125,7 +125,7 @@ impl NodeService {
|
|||||||
.build()?,
|
.build()?,
|
||||||
);
|
);
|
||||||
let deps =
|
let deps =
|
||||||
"apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev vips-dev git"
|
"apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev vips-dev git postgresql-dev"
|
||||||
.split_whitespace();
|
.split_whitespace();
|
||||||
|
|
||||||
let base_image = match self.base_image.clone() {
|
let base_image = match self.base_image.clone() {
|
||||||
@ -177,7 +177,13 @@ impl NodeService {
|
|||||||
.client
|
.client
|
||||||
.container()
|
.container()
|
||||||
.from("node:20-alpine")
|
.from("node:20-alpine")
|
||||||
.with_exec(vec!["apk", "add", "--no-cache", "vips-dev"]),
|
.with_exec(vec![
|
||||||
|
"apk",
|
||||||
|
"add",
|
||||||
|
"--no-cache",
|
||||||
|
"vips-dev",
|
||||||
|
"postgresql-dev",
|
||||||
|
]),
|
||||||
}
|
}
|
||||||
.with_env_variable("NODE_ENV", "production");
|
.with_env_variable("NODE_ENV", "production");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user