fix container config
This commit is contained in:
parent
2c3237dcd9
commit
040f21820e
2 changed files with 7 additions and 2 deletions
|
@ -13,5 +13,10 @@ FROM debian:stable-slim
|
|||
|
||||
WORKDIR /app
|
||||
COPY --from=Builder /app/webhook/webhook .
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
netbase \
|
||||
&& rm -rf /var/lib/apt/lists/ \
|
||||
&& apt-get autoremove -y && apt-get autoclean -y
|
||||
|
||||
CMD ["./webhook"]
|
||||
|
|
|
@ -11,5 +11,5 @@ services:
|
|||
VERBOSE: true
|
||||
HOOKS: /etc/webhook/config/hooks.yaml
|
||||
volumes:
|
||||
- ./config:/etc/webhook/config:ro
|
||||
- ./scripts:/etc/webhook/scripts:ro
|
||||
- ./config:/etc/webhook/config:rw
|
||||
- ./scripts:/etc/webhook/scripts:rw
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue