fix; cp bin to /rageshake/
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
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:
parent
a536481248
commit
eaa54e466c
1 changed files with 4 additions and 4 deletions
|
@ -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"]
|
||||||
|
|
Reference in a new issue