Trying a target fix.

This commit is contained in:
Dessalines 2020-10-26 15:50:37 -05:00
parent b42b461418
commit 3100e8bf21

View file

@ -1,9 +1,9 @@
ARG RUST_BUILDER_IMAGE=ekidd/rust-musl-builder:stable 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 FROM $RUST_BUILDER_IMAGE as rust
ARG RUSTRELEASEDIR="release"
WORKDIR /app/server WORKDIR /app/server
RUN sudo chown -R rust:rust . RUN sudo chown -R rust:rust .
COPY . ./ COPY . ./