forked from perses/perses
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
24 lines (18 loc) · 878 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM alpine AS build-env
RUN mkdir /perses
FROM gcr.io/distroless/static-debian11
LABEL maintainer="The Perses Authors <[email protected]>"
USER nobody
COPY --chown=nobody:nobody perses /bin/perses
COPY --chown=nobody:nobody percli /bin/percli
COPY --chown=nobody:nobody LICENSE /LICENSE
COPY --chown=nobody:nobody schemas/ /etc/perses/schemas/
COPY --chown=nobody:nobody cue.mod/ /etc/perses/cue.mod/
COPY --chown=nobody:nobody docs/examples/config.docker.yaml /etc/perses/config.yaml
COPY --from=build-env --chown=nobody:nobody /perses /perses
WORKDIR /perses
EXPOSE 8080
VOLUME ["/perses"]
ENTRYPOINT [ "/bin/perses" ]
CMD ["--config=/etc/perses/config.yaml", \
"--log.level=error"]