Add Dockerfile for Windows Server 1709

pull/3/head
Stefan Scherer 7 years ago
parent d5ca7e92bb
commit 6e8bb6cb17
No known key found for this signature in database
GPG Key ID: 5966AEAC37E957FA

@ -0,0 +1,14 @@
FROM stefanscherer/golang-windows:1709 AS build
COPY . /code
WORKDIR /code
RUN go build http.go
FROM microsoft/nanoserver:1709
COPY --from=build /code/http.exe /http.exe
EXPOSE 8080
CMD ["\\http.exe"]
Loading…
Cancel
Save