From: Dessalines Date: Mon, 26 Oct 2020 22:32:50 +0000 (-0500) Subject: Trying a target fix. X-Git-Url: http://these/git/%7B%60/feeds/front/static/%7BpictrsAvatarThumbnail%28this.state.siteRes.site.icon%29%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 . ./