From: Dessalines Date: Mon, 26 Oct 2020 22:32:50 +0000 (-0500) Subject: Trying a target fix. X-Git-Url: http://these/git/%22%7Burl%7D/%7B%60%24%7BghostArchiveUrl%7D/%7BjoinLemmyUrl%7D?a=commitdiff_plain;h=2e922d602d8c87495a3dd51d4dc49452b765f2b6;p=lemmy.git Trying a target fix. --- diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile index b1a7c60d..b70154cd 100644 --- a/docker/prod/Dockerfile +++ b/docker/prod/Dockerfile @@ -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 . ./