This commit is contained in:
Ari Sosnovsky committed 2021-11-09 20:45:19 -05:00
1 parent ea9dd2a8a3
commit 899d78fba5
3 files changed
+35

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
ARG BUILD_FROM
FROM $BUILD_FROM
ENV LANG C.UTF-8
# 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
CMD [ "/run.sh" ]
+13
View File
@@ -0,0 +1,13 @@
{
"name": "Shortumation",
"version": "0.0.0",
"slug": "shortumation",
"description": "A homeassitant addon which provides better UI for the automation.",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"startup": "before",
"boot": "auto",
"options": {},
"schema": {
"8000/tcp": 8000
}
}
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/with-contenv bashio
echo Hello world!
python3 -m http.server 8000