diff options
author | terminaldweller <thabogre@gmail.com> | 2021-02-25 08:49:18 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-02-25 08:49:18 +0000 |
commit | ff12756915d452e7b92959062ed6315adf0e424e (patch) | |
tree | bb86d9405a8a63d4865594f20a13327920485cf8 /Dockerfile | |
parent | removed the expression parser. using a lib now. the addalert endpoint is work... (diff) | |
download | hived-ff12756915d452e7b92959062ed6315adf0e424e.tar.gz hived-ff12756915d452e7b92959062ed6315adf0e424e.zip |
added a new endpoint for changelly. added somewhat decent logging. cleaned up the code a bit. the secrets are all environment variables now since we want publicly availale CI. the api and postman docs are added. added travis integration.
Diffstat (limited to '')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,11 +2,12 @@ FROM alpine:3.13 as builder RUN apk update && apk upgrade RUN apk add go git -COPY ./go.* /hived/ +COPY go.* /hived/ RUN cd /hived && go mod download COPY *.go /hived/ RUN cd /hived && go build FROM alpine:3.13 COPY --from=builder /hived/hived /hived/ -ENTRYPOINT ["/hived/hived"] +COPY ./docker-entrypoint.sh /hived/ +ENTRYPOINT ["/hived/docker-entrypoint.sh"] |