feat(docker): enable target-cpu=native

This commit is contained in:
Erb3
2024-08-24 13:28:04 +02:00
parent 303594d908
commit a97551583b

View File

@@ -1,5 +1,5 @@
FROM rust:1-alpine3.19 AS builder
ENV RUSTFLAGS="-C target-feature=-crt-static"
ENV RUSTFLAGS="-C target-feature=-crt-static -C target-cpu=native"
RUN apk add --no-cache musl-dev
WORKDIR /pumpkin
COPY . /pumpkin