From 7090de807bffa84f7a524b0028410fb7ffbf6939 Mon Sep 17 00:00:00 2001 From: Lermer Date: Wed, 27 Jul 2022 15:05:12 +0200 Subject: [PATCH] 'test/Dockerfile' updaten --- test/Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/Dockerfile b/test/Dockerfile index d8ba574..df33f7a 100644 --- a/test/Dockerfile +++ b/test/Dockerfile @@ -1,6 +1,15 @@ ARG BUILD_FROM FROM $BUILD_FROM +# Install requirements for add-on +RUN \ + apk add --no-cache \ + python3 + +# Python 3 HTTP Server serves the current working dir +# So let's set it to our add-on persistent data directory. +WORKDIR /data + # Copy data for add-on COPY run.sh / RUN chmod a+x /run.sh