Use alpine docker image
This commit is contained in:
parent
cdd7a1033f
commit
b9a9fa0c92
2 changed files with 3 additions and 2 deletions
|
@ -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'
|
||||||
|
|
|
@ -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" ]
|
||||||
|
|
Loading…
Reference in a new issue