mirror of
https://github.com/makeplane/plane.git
synced 2026-07-12 13:29:56 +02:00
* fix: throw error if private key is not parsable * fix: printing private key * fix: added print of private key in handler * feat: optimized build for monitor * feat: removed debug statements * feat: added volume for compose
21 lines
419 B
Docker
21 lines
419 B
Docker
FROM --platform=$BUILDPLATFORM tonistiigi/binfmt as binfmt
|
|
|
|
FROM goreleaser/goreleaser:v2.2.0 as Build
|
|
WORKDIR /app
|
|
|
|
RUN apk add build-base
|
|
|
|
ARG PRIVATE_KEY
|
|
ENV PRIVATE_KEY=$PRIVATE_KEY
|
|
|
|
COPY . .
|
|
|
|
RUN goreleaser build --snapshot --clean --single-target --output=./prime-monitor
|
|
|
|
FROM alpine:latest as Run
|
|
WORKDIR /app
|
|
COPY --from=Build /app/prime-monitor /usr/local/bin/prime-monitor
|
|
|
|
CMD [ "prime-monitor", "start" ]
|
|
|