From 3100e8bf21c69d73f7e4e4d6ba08c3f343e8c45b Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 26 Oct 2020 15:50:37 -0500 Subject: [PATCH] Trying a target fix. --- docker/prod/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile index 3b8186a21..b1a7c60d2 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 . ./