harmony/Dockerfile
tahahawa a4d8609b29
Some checks failed
Run Check Script / check (push) Successful in 1m49s
Run Check Script / check (pull_request) Successful in 1m49s
Compile and package harmony_composer / package_harmony_composer (pull_request) Failing after 1m29s
try with podman?
2025-06-17 16:43:07 -04:00

31 lines
600 B
Docker

FROM docker.io/rust:1.87.0 AS build
WORKDIR /app
COPY . .
RUN cargo build --release --bin harmony_composer
FROM docker.io/rust:1.87.0
WORKDIR /app
RUN apt update
# For checkout action
RUN apt install -y nodejs
# RUN apt install -y docker.io
RUN apt install -y podman podman-docker
RUN rustup target add x86_64-unknown-linux-gnu
RUN apt install -y mingw-w64
RUN rustup target add x86_64-pc-windows-gnu
# RUN apt install -y gcc-aarch64-linux-gnu
# RUN rustup target add aarch64-unknown-linux-gnu
COPY --from=build /app/target/release/harmony_composer .
ENTRYPOINT ["/app/harmony_composer"]