Skip to content

Commit 71a66ad

Browse files
authored
Update addon_tutorial.markdown
1 parent 8b0d75a commit 71a66ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/hassio/addon_tutorial.markdown

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ CMD [ "/run.sh" ]
3636
```json
3737
{
3838
"name": "Hello world",
39-
"version": "0.1",
39+
"version": "1",
4040
"slug": "hello_world",
4141
"description": "My first real add-on!",
4242
"startup": "before",
@@ -106,7 +106,8 @@ Add to your `Dockerfile` before `RUN`:
106106
# Install requirements for add-on
107107
RUN apk add --no-cache python3
108108
109-
# Set directory for Python 3 HTTP server to serve
109+
# Python 3 HTTP Server serves the current working dir
110+
# So let's set it to our add-on persistent data directory.
110111
WORKDIR /data
111112
```
112113

0 commit comments

Comments
 (0)