You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
ARG golang=golang:nanoserver
|
|
ARG target=microsoft/nanoserver:sac2016
|
|
|
|
FROM $golang AS build
|
|
|
|
COPY . /code
|
|
WORKDIR /code
|
|
|
|
RUN go build http.go
|
|
|
|
FROM $target
|
|
|
|
COPY --from=build /code/http.exe /http.exe
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["\\http.exe"]
|