Update Dockerfile

Copy example configuration
This commit is contained in:
SOT-TECH
2022-07-12 13:38:46 +03:00
committed by GitHub
parent 37f5b0bc53
commit 865942a154
+1
View File
@@ -14,6 +14,7 @@ RUN CGO_ENABLED=0 go install ./cmd/mochi
FROM alpine:latest
RUN apk add --no-cache ca-certificates
COPY --from=build-env /go/bin/mochi /mochi
COPY --from=build-env /go/src/github.com/sot-tech/mochi/dist/example_config.yaml /etc/mochi.yaml
RUN adduser -D mochi