Skip to content

Commit

Permalink
Updating for Docker Standalone install (#46)
Browse files Browse the repository at this point in the history
* Updating for Docker Standalone install

* Update README.md

* Improve installation for Docker instances

Co-authored-by: Eric Matte <[email protected]>
  • Loading branch information
desertblade and ericmatte authored Feb 12, 2022
1 parent fb4360c commit f553188
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,11 @@ init_commands: []
log_level: info
```
If you are running AppDaemon in your own docker container, you must create and build a docker image with the above dependencies using a [Dockerfile](https://docs.docker.com/engine/reference/builder/) similar to this (**untested**):
### AppDaemon 4 in Docker
```Dockerfile
FROM acockburn/appdaemon:latest
# Manually install the dependencies
RUN apk add py3-pillow
RUN pip3 install Pillow
```
See [AppDaemon with Docker](https://appdaemon.readthedocs.io/en/latest/DOCKER_TUTORIAL.html).
Using the files from [./docker](./docker) in your CONF path, the Docker script will recursively search the CONF directory and install the `system_packages.txt` and `requirements.txt` files.

## App configuration

Expand Down
1 change: 1 addition & 0 deletions docker/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Pillow
3 changes: 3 additions & 0 deletions docker/system_packages.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
py3-pillow
jpeg-dev
zlib-dev

0 comments on commit f553188

Please sign in to comment.