Windows port - spike (#66)

* Add Windows Dockerfile.win
* Create appveyor.yml
* Create build.ps1
* Port Golang example to Windows
This commit is contained in:
Alex Ellis
2017-04-27 09:12:15 +01:00
committed by GitHub
parent abba90e674
commit 1eaf13c6c8
4 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,16 @@
FROM golang:1.7.5-windowsservercore
MAINTAINER alexellis2@gmail.com
ENTRYPOINT []
WORKDIR /go/src/github.com/alexellis/faas/sample-functions/golang
COPY . /go/src/github.com/alexellis/faas/sample-functions/golang
RUN go build
ADD ./watchdog.exe /
EXPOSE 8080
ENV fprocess="app.exe"
ENV suppress_lock="true"
CMD ["watchdog.exe"]