'test/Dockerfile' updaten
This commit is contained in:
parent
36d22d9da4
commit
7090de807b
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue