From: Dessalines Date: Mon, 26 Oct 2020 20:50:37 +0000 (-0500) Subject: Trying a target fix. X-Git-Url: http://these/git/readmes/%24%7B%60data:application/static/README.es.md?a=commitdiff_plain;h=3100e8bf21c69d73f7e4e4d6ba08c3f343e8c45b;p=lemmy.git Trying a target fix. --- diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile index 3b8186a2..b1a7c60d 100644 --- a/docker/prod/Dockerfile +++ b/docker/prod/Dockerfile @@ -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 . ./