Update addon_tutorial.markdown

This commit is contained in:
Paulus Schoutsen 2017-05-14 00:46:58 -07:00 committed by GitHub
parent 8b0d75a0e1
commit 71a66adcdf

View File

@ -36,7 +36,7 @@ CMD [ "/run.sh" ]
```json ```json
{ {
"name": "Hello world", "name": "Hello world",
"version": "0.1", "version": "1",
"slug": "hello_world", "slug": "hello_world",
"description": "My first real add-on!", "description": "My first real add-on!",
"startup": "before", "startup": "before",
@ -106,7 +106,8 @@ Add to your `Dockerfile` before `RUN`:
# Install requirements for add-on # Install requirements for add-on
RUN apk add --no-cache python3 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 WORKDIR /data
``` ```