chore: use bin.tar.gz, change workdir

This commit is contained in:
Jesús Pérez Lorenzo 2024-10-03 06:46:01 +01:00
parent 60b7c4dfee
commit ba35aef78c
No known key found for this signature in database
11 changed files with 3 additions and 2 deletions

View File

@ -78,8 +78,9 @@ RUN set -eux; \
rm -f /tmp/restic*; rm -f /tmp/restic*;
COPY --from=build /usr/local/bin/webhook /usr/local/bin/webhook COPY --from=build /usr/local/bin/webhook /usr/local/bin/webhook
COPY bin/* /usr/local/bin COPY bin.tar.gz /tmp
WORKDIR /etc/webhook RUN tar -C /usr/local/bin xzf /tmp/bin.tar.gz
WORKDIR /home/webhook
VOLUME ["/etc/webhook"] VOLUME ["/etc/webhook"]
EXPOSE 9000 EXPOSE 9000
ENTRYPOINT ["/usr/local/bin/webhook"] ENTRYPOINT ["/usr/local/bin/webhook"]

BIN
src/bin/nu → src/bin.tar.gz Executable file → Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.