Skip to content

Commit

Permalink
feat(docker): enable target-cpu=native
Browse files Browse the repository at this point in the history
  • Loading branch information
Erb3 committed Aug 24, 2024
1 parent 303594d commit a975515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit a975515

Please sign in to comment.