fix; cp bin to /rageshake/
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

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

View file

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