Add Dockerfile for Windows Server 2019

pull/10/head
Stefan Scherer 6 years ago
parent 08cf384195
commit 5bd1f1cd06
No known key found for this signature in database
GPG Key ID: 5966AEAC37E957FA

@ -0,0 +1,17 @@
ARG golang=chocolateyfest/golang
ARG target=mcr.microsoft.com/windows/nanoserver:1809
FROM $golang AS build
COPY . /code
WORKDIR /code
RUN go build http.go
FROM $target
COPY --from=build /code/http.exe /http.exe
EXPOSE 8080
CMD ["\\http.exe"]
Loading…
Cancel
Save