1
Fork 0

Add docker container

This commit is contained in:
Jake Howard 2020-01-08 20:22:40 +00:00
parent ab051663dc
commit 7790e3a677
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 10 additions and 0 deletions

View file

@ -17,3 +17,5 @@ jobs:
run: pip install -r dev-requirements.txt run: pip install -r dev-requirements.txt
- name: Run tests - name: Run tests
run: bash ./scripts/test.sh run: bash ./scripts/test.sh
- name: Build docker image
run: docker build .

8
Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM python:3.8.1-alpine3.11
COPY requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt
COPY ./todoist-github /app
CMD ["/app/cli.py"]