]> Untitled Git - lemmy.git/commitdiff
Trying a target fix.
authorDessalines <tyhou13@gmx.com>
Mon, 26 Oct 2020 20:50:37 +0000 (15:50 -0500)
committerDessalines <tyhou13@gmx.com>
Mon, 26 Oct 2020 20:50:37 +0000 (15:50 -0500)
docker/prod/Dockerfile

index 3b8186a213843872c69469f473e1590f2150c2a3..b1a7c60d29e07e6ce776dfe931fd175dba9bac8e 100644 (file)
@@ -1,9 +1,9 @@
 ARG RUST_BUILDER_IMAGE=ekidd/rust-musl-builder:stable
+ARG CARGO_BUILD_TARGET=x86_64-unknown-linux-musl
+ARG RUSTRELEASEDIR="release"
 
 FROM $RUST_BUILDER_IMAGE as rust
 
-ARG RUSTRELEASEDIR="release"
-
 WORKDIR /app/server
 RUN sudo chown -R rust:rust .
 COPY . ./