oops forgor the important flags
All checks were successful
Build and Test / account (push) Successful in 5m52s

This commit is contained in:
redbinder0526 2026-04-28 20:48:59 +02:00
commit f3f2462112

View file

@ -9,7 +9,7 @@ WORKDIR /app
COPY Cargo.toml Cargo.lock ./
COPY mii ./mii
RUN mkdir src && echo "fn main() {println!(\"dummy\");}" > src/main.rs
RUN OPENSSL_STATIC=1 cargo build --target x86_64-unknown-linux-musl --profile prod
RUN OPENSSL_LIB_DIR=/usr/lib OPENSSL_INCLUDE_DIR=/usr/include/openssl OPENSSL_STATIC=1 RUSTFLAGS="-C target-feature=+aes,+sse -C relocation-model=static -C linker=ld.lld" cargo build --target x86_64-unknown-linux-musl --profile prod
COPY . .