parent
d5ca7e92bb
commit
6e8bb6cb17
@ -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…
Reference in new issue