From: Dessalines Date: Mon, 26 Oct 2020 20:50:37 +0000 (-0500) Subject: Trying a target fix. X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%24%7B%60data:application/static/%7B%60https:/README.ru.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 . ./