Files
watcheragent/Dockerfile.windows

12 lines
293 B
Docker

# Using Windows Server Core as base
FROM mcr.microsoft.com/windows/servercore:ltsc2022
# Create app directory
WORKDIR C:/app
# Copy the Windows binary
ARG BINARY_NAME
ENV BINARY_NAME=${BINARY_NAME:-WatcherAgent}
COPY windows-bin/${BINARY_NAME}.exe .
ENTRYPOINT ["C:/app/${BINARY_NAME}.exe"]