diff --git a/Dockerfile b/Dockerfile index 7f28108..b3e33e4 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" RUN cargo build --release --bin zero2prod RUN npm install && npm run build-css