From a72421656366f196233c51807f7bb6f752876872 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sun, 18 Sep 2022 11:27:26 +0200 Subject: [PATCH] Added dockerfile to test --- tests/custom/discord/dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/custom/discord/dockerfile diff --git a/tests/custom/discord/dockerfile b/tests/custom/discord/dockerfile new file mode 100644 index 00000000..6384a994 --- /dev/null +++ b/tests/custom/discord/dockerfile @@ -0,0 +1,15 @@ +# syntax=docker/dockerfile:1 +FROM python:3.10 + +WORKDIR /app +COPY . . + +RUN pip install cpl-cli --extra-index-url https://pip.sh-edraft.de +RUN pip install cpl-discord --extra-index-url https://pip.sh-edraft.de +RUN pip install cpl-query --extra-index-url https://pip.sh-edraft.de +RUN pip install cpl-translation --extra-index-url https://pip.sh-edraft.de + +ENV DISCORD_TOKEN="" +ENV DISCORD_PREFIX="" + +CMD [ "cpl", "run"]