Added executable entrypoint

This commit is contained in:
Alexis Couvreur
2020-10-21 20:02:58 +02:00
parent 2ca72df567
commit 105e7b6a83

View File

@@ -3,4 +3,5 @@ WORKDIR /src
COPY . .
RUN go build -o ondemand-service .
FROM scratch AS bin
COPY --from=build /src/ondemand-service /
COPY --from=build /src/ondemand-service /
ENTRYPOINT [ "/ondemand-service" ]