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

index b1a7c60d29e07e6ce776dfe931fd175dba9bac8e..b70154cd72786f3206cebe1b3e0b28ffc6dbb215 100644 (file)
@@ -1,9 +1,10 @@
 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 CARGO_BUILD_TARGET=x86_64-unknown-linux-musl
+ARG RUSTRELEASEDIR="release"
+
 WORKDIR /app/server
 RUN sudo chown -R rust:rust .
 COPY . ./