Use alpine docker image

This commit is contained in:
Felix Ableitner 2019-09-11 13:45:14 +02:00
parent cdd7a1033f
commit b9a9fa0c92
2 changed files with 3 additions and 2 deletions

View file

@ -14,6 +14,7 @@
- setup: # gather facts - setup: # gather facts
tasks: tasks:
# TODO: this approach sucks because it always deploys from current master, instead of the local files
- name: clone/update git repo - name: clone/update git repo
git: git:
repo: 'https://0xacab.org/radical_coder/pinko.red.git' repo: 'https://0xacab.org/radical_coder/pinko.red.git'

View file

@ -1,4 +1,4 @@
FROM python:3 FROM python:3-alpine
WORKDIR /usr/src/app WORKDIR /usr/src/app
@ -7,4 +7,4 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . . COPY . .
CMD [ "python", "./main.py" ] CMD [ "python", "./main.py" ]