fix; cp bin to /rageshake/
ci/woodpecker/push/woodpecker Pipeline was successful Details

rageshake stores logs and screenshot in the same directory as the binary.
Copying binary to /bin/ will, well, mess /bin/ up. Not good.
This commit is contained in:
Aravinth Manivannan 2022-08-18 17:32:57 +05:30
parent a536481248
commit eaa54e466c
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 4 additions and 4 deletions

View File

@ -8,15 +8,15 @@ RUN go build -o rageshake
## Runtime stage, debug variant ##
FROM debian:bullseye as debug
COPY --from=builder /build/rageshake /rageshake
COPY --from=builder /build/rageshake /rageshake/
WORKDIR /
EXPOSE 9110
ENTRYPOINT ["/rageshake"]
ENTRYPOINT ["/rageshake/rageshake"]
## Runtime stage ##
FROM debian:bullseye as rageshake
LABEL org.opencontainers.image.source https://git.batsense.net/mystiq/rageshake
WORKDIR /
COPY --from=builder /build/rageshake /bin/
COPY --from=builder /build/rageshake /rageshake/
EXPOSE 9110
ENTRYPOINT ["/bin/rageshake"]
ENTRYPOINT ["/rageshake/rageshake"]