Update addon_tutorial.markdown
This commit is contained in:
parent
8b0d75a0e1
commit
71a66adcdf
1 changed files with 3 additions and 2 deletions
|
@ -36,7 +36,7 @@ CMD [ "/run.sh" ]
|
|||
```json
|
||||
{
|
||||
"name": "Hello world",
|
||||
"version": "0.1",
|
||||
"version": "1",
|
||||
"slug": "hello_world",
|
||||
"description": "My first real add-on!",
|
||||
"startup": "before",
|
||||
|
@ -106,7 +106,8 @@ Add to your `Dockerfile` before `RUN`:
|
|||
# Install requirements for add-on
|
||||
RUN apk add --no-cache python3
|
||||
|
||||
# Set directory for Python 3 HTTP server to serve
|
||||
# Python 3 HTTP Server serves the current working dir
|
||||
# So let's set it to our add-on persistent data directory.
|
||||
WORKDIR /data
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue