diff --git a/.dockerignore b/.dockerignore index a19b88d9..349184b1 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,4 +2,5 @@ Dockerfile .git/ .gitignore -.env \ No newline at end of file +.env +.cargo/config.toml \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 00f7fb83..09b8904a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ # Define base arguments for versioning and optimization ARG RUST_NIGHTLY_VERSION=nightly-2024-11-29 -ARG RUST_TARGET_CPU=native -ARG RUSTFLAGS="-C target-cpu=${RUST_TARGET_CPU} -Z share-generics=y -Z threads=8 --cfg tokio_unstable" +ARG RUSTFLAGS="-Z share-generics=y -Z threads=8" ARG CARGO_HOME=/usr/local/cargo # Use Ubuntu as base image