mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 07:36:01 +00:00
Trying a target fix.
This commit is contained in:
parent
3100e8bf21
commit
2e922d602d
|
@ -1,9 +1,10 @@
|
||||||
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 CARGO_BUILD_TARGET=x86_64-unknown-linux-musl
|
||||||
|
ARG RUSTRELEASEDIR="release"
|
||||||
|
|
||||||
WORKDIR /app/server
|
WORKDIR /app/server
|
||||||
RUN sudo chown -R rust:rust .
|
RUN sudo chown -R rust:rust .
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
Loading…
Reference in a new issue