chore: use bin.tar.gz, change workdir
This commit is contained in:
parent
60b7c4dfee
commit
ba35aef78c
@ -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
BIN
src/bin/nu → src/bin.tar.gz
Executable file → Normal file
Binary file not shown.
BIN
src/bin/mdbook
BIN
src/bin/mdbook
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.
Loading…
Reference in New Issue
Block a user