802 B
802 B
Docker
Local run for testing
python webserver.py
Build it manually
docker build -t calendar-fetcher .
Run it in a Docker Container
- Adjust the parameters in
Dockerfile
- Build the docker image with
docker build -t calendar-fetcher .
- Run it with
docker run -it --rm -v /volume1/web/calendar-fetcher:/data --name my-calendar-fetcher -p 8014:8014 --label=com.centurylinklabs.watchtower.enable=false calendar-fetcher
- Call it in a webbrowser:
http://localhost:8014
replace existing Docker Container (Update)
docker build -t calendar-fetcher .
docker stop calendar-fetcher
docker rm calendar-fetcher
docker run -d -P --name calendar-fetcher -p 8014:8014 -v /volume1/web/smartmirror/data:/data --label=com.centurylinklabs.watchtower.enable=false calendar-fetcher