additional docker fields
This commit is contained in:
1 parent
b43aa6c181
commit
4558620553
2 files changed
+10
-2
No files matched your search
@@ -1,4 +1,5 @@
|
||||
ARG BUILD_FROM
|
||||
ARG BUILD_VERSION
|
||||
# ================
|
||||
# Python Build Stage
|
||||
# ================
|
||||
@@ -38,7 +39,14 @@ COPY api/src /data/src
|
||||
|
||||
|
||||
ENV HASSIO_TOKEN ""
|
||||
ENV BUILD_VERSION $BUILD_VERSION
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
LABEL \
|
||||
io.hass.version="${BUILD_VERSION}" \
|
||||
io.hass.type="addon" \
|
||||
io.hass.arch="armhf|aarch64|i386|amd64"
|
||||
|
||||
CMD [ "/data/venv/bin/python", "-m", "uvicorn", "src.app:app", "--host", "0.0.0.0", "--port", "8000" ]
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"name": "Shortumation",
|
||||
"version": "0.0.0",
|
||||
"version": "0.0.2",
|
||||
"slug": "shortumation",
|
||||
"url": "https://github.com/asosnovsky/Shortumation",
|
||||
"description": "A homeassitant addon which provides better UI for the automation.",
|
||||
"description": "A homeassitant addon which provides better UI for automations & scripts.",
|
||||
"arch": [
|
||||
"armhf",
|
||||
"armv7",
|
||||
|
||||
Reference in new issue
Block a user