feat: absolute path run

This commit is contained in:
Kasper Juul Hermansen 2023-03-07 23:30:56 +01:00
parent 2053220d01
commit b60410276f
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -138,7 +138,7 @@ async fn main() -> eyre::Result<()> {
.with_workdir("/app") .with_workdir("/app")
.with_directory("/app", rust_builder.directory("/app/target").id().await?) .with_directory("/app", rust_builder.directory("/app/target").id().await?)
.with_env_variable("LEPTOS_SITE_ADDRESS", "0.0.0.0:3000") .with_env_variable("LEPTOS_SITE_ADDRESS", "0.0.0.0:3000")
.with_entrypoint(vec!["./server/release/ssr_mode_axum"]); .with_entrypoint(vec!["/app/server/release/ssr_mode_axum"]);
prod.publish(format!("docker.io/kasperhermansen/bitebuds:{tag}")) prod.publish(format!("docker.io/kasperhermansen/bitebuds:{tag}"))
.await?; .await?;