parent
c50d441484
commit
4c6ee33df4
@ -1,7 +0,0 @@
|
||||
FROM microsoft/nanoserver
|
||||
|
||||
COPY tmp /
|
||||
ENV PORT 8000
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["\\http.exe"]
|
@ -1,6 +0,0 @@
|
||||
FROM golang:nanoserver
|
||||
|
||||
COPY . /code
|
||||
WORKDIR /code
|
||||
|
||||
RUN go build http.go
|
@ -0,0 +1,14 @@
|
||||
FROM golang:nanoserver
|
||||
|
||||
COPY . /code
|
||||
WORKDIR /code
|
||||
|
||||
RUN go build http.go
|
||||
|
||||
FROM microsoft/nanoserver
|
||||
|
||||
COPY --from=0 /code/http.exe /http.exe
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["\\http.exe"]
|
Loading…
Reference in new issue