Fix startup bug in demo script

This commit is contained in:
Vikram Rangnekar
2019-07-30 01:38:05 -04:00
parent dd085fb7fd
commit cf0e4d10fd
14 changed files with 110 additions and 39 deletions

View File

@ -6,7 +6,7 @@ RUN yarn
RUN yarn build
# stage: 2
FROM golang:1.12-alpine as go-build
FROM golang:1.13beta1-alpine as go-build
RUN apk update && \
apk add --no-cache git && \
apk add --no-cache upx=3.95-r2
@ -35,7 +35,7 @@ RUN apk add --no-cache tzdata
COPY --from=go-build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=go-build /app/service .
COPY --from=go-build /app/config/*.yml ./
COPY --from=go-build /app/config/* ./
RUN chmod +x /app/service
USER nobody