Fix accessbot/Dockerfile

The command is broken (extra ", misses redirection) and duplicates
content from accessbot.sh. Call accessbot.sh directly and use that one
instead.

Change-Id: Ieb530ef27e5995f2848a3c23a6c04a0717716e14
This commit is contained in:
Andreas Jaeger 2020-05-02 17:49:05 +02:00
parent 33e48396d1
commit 26f1dae81b

View File

@ -18,4 +18,4 @@ FROM docker.io/opendevorg/python-base:3.7
RUN pip install pyyaml irc
COPY accessbot.py /usr/local/bin/accessbot.py
COPY accessbot.sh /usr/local/bin/accessbot
CMD ["/usr/local/bin/accessbot", "-c", "/etc/accessbot/accessbot.config", "-l", "/etc/accessbot/channels.yaml", ">>", "]]
CMD ["/usr/local/bin/accessbot"]