parent
61246a50f7
commit
a8373b57b1
@ -1,14 +0,0 @@
|
||||
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"]
|
@ -1,14 +0,0 @@
|
||||
FROM stefanscherer/golang-windows:1.9-insider AS build
|
||||
|
||||
COPY . /code
|
||||
WORKDIR /code
|
||||
|
||||
RUN go build http.go
|
||||
|
||||
FROM microsoft/nanoserver-insider
|
||||
|
||||
COPY --from=build /code/http.exe /http.exe
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["\\http.exe"]
|
Loading…
Reference in new issue