From af13c08aa2cc05eb6ec4b6527d7918bc10611ef3 Mon Sep 17 00:00:00 2001 From: selimseker Date: Thu, 29 Aug 2024 13:47:39 +0300 Subject: [PATCH] rm dockerfile.windows --- Dockerfile.windows | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 Dockerfile.windows diff --git a/Dockerfile.windows b/Dockerfile.windows deleted file mode 100644 index 7dc94e6..0000000 --- a/Dockerfile.windows +++ /dev/null @@ -1,24 +0,0 @@ -FROM --platform="linux/arm64" rust:1.75 AS builder - -ARG BUILDPLATFORM -ARG TARGETPLATFORM -RUN echo "Build platform: $BUILDPLATFORM" -RUN echo "Target platform: $TARGETPLATFORM" - -# Install mingw-w64 for cross-compilation -RUN apt-get update && apt-get install -y mingw-w64 - -RUN rustup target add x86_64-pc-windows-gnu -RUN rustup toolchain install stable-gnu - -# build release binary -WORKDIR /usr/src/app -COPY . . -RUN cargo build --target x86_64-pc-windows-gnu - -FROM mcr.microsoft.com/windows/nanoserver:ltsc2022 -COPY --from=builder "/usr/src/app/target/x86_64-pc-windows-gnu/dkn-compute" "C:\dkn-compute.exe" - -EXPOSE 8080 - -CMD ["C:\\dkn-compute.exe"]