From f1c7c57249eb3615bd4a9e2a9d3d1c58e8dc9cd6 Mon Sep 17 00:00:00 2001 From: Alphonse Paix Date: Sun, 28 Sep 2025 15:24:21 +0200 Subject: [PATCH] update Dockerfile config build issue when running on VPS --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7f28108..0254a4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ COPY --from=planner /app/recipe.json recipe.json RUN cargo chef cook --release --recipe-path recipe.json COPY . . ENV SQLX_OFFLINE=true -ENV RUSTFLAGS="-C strip=symbols -C target-cpu=native" +ENV RUSTFLAGS="-C strip=symbols -C" RUN cargo build --release --bin zero2prod RUN npm install && npm run build-css