mirror of https://github.com/Hoffelhas/autodoist
Add Dockerfile
Add a Dockerfile to have the ability to build a container from the app. Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>pull/31/head
parent
f47e974c7c
commit
2ee1088e9c
|
@ -0,0 +1,10 @@
|
|||
FROM python:3-slim-bullseye
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
ENTRYPOINT [ "python", "./autodoist.py" ]
|
11
README.md
11
README.md
|
@ -150,3 +150,14 @@ In addition, if you experience issues with syncing you can increase the api sync
|
|||
For all arguments, please check out the help:
|
||||
|
||||
python autodoist.py --help
|
||||
|
||||
|
||||
## Docker container
|
||||
|
||||
To build the docker container, check out the repository and run:
|
||||
|
||||
docker build . --tag autodoist:latest
|
||||
|
||||
To run autodoist inside the docker container:
|
||||
|
||||
docker run -it autodoist:latest
|
||||
|
|
Loading…
Reference in New Issue