Add docker container
This commit is contained in:
parent
ab051663dc
commit
7790e3a677
2 changed files with 10 additions and 0 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -17,3 +17,5 @@ jobs:
|
|||
run: pip install -r dev-requirements.txt
|
||||
- name: Run tests
|
||||
run: bash ./scripts/test.sh
|
||||
- name: Build docker image
|
||||
run: docker build .
|
||||
|
|
8
Dockerfile
Normal file
8
Dockerfile
Normal 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"]
|
Reference in a new issue