Docker file read file config from cloud
#build stage FROM golang:alpine AS build-stage RUN apk --no-cache add build-base git bzr mercurial gcc ADD . /src/app RUN cd /src/app/cmd/timeline && go build -o goapp -mod=vendor # final stage FROM alpine WORKDIR /app COPY --from=build-stage /src/app/cmd/timeline/goapp /app/timeline RUN chmod +x timeline ENV CONFIG_SERVICE_URL http://apitoolinternal.tcbs.com.vn:8000/tcbs-config/v1 ENV SERVICE_NAME tcbs-timeline ENV PROFILE_NAME cloud_sit ENTRYPOINT ./timeline -port "${PORT}" -cfgUrl=${CONFIG_SERVICE_URL} -servName=${SERVICE_NAME} -profileName=${PROFILE_NAME}