mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-21 13:23:03 +01:00
feat(docker): use ENTRYPOINT for go executable
This commit is contained in:
@@ -9,4 +9,6 @@ RUN go build -o /go/bin/ondemand-service
|
||||
|
||||
FROM alpine
|
||||
COPY --from=build /go/bin/ondemand-service /go/bin/ondemand-service
|
||||
CMD [ "/go/bin/ondemand-service" ]
|
||||
|
||||
ENTRYPOINT [ "/go/bin/ondemand-service" ]
|
||||
CMD [ "--swarmMode=true" ]
|
||||
Reference in New Issue
Block a user