parent
ab0a8f8cfd
commit
197e4bcbab
@ -0,0 +1,17 @@ |
||||
--- |
||||
kind: pipeline |
||||
type: kubernetes |
||||
name: default |
||||
|
||||
steps: |
||||
- name: docker |
||||
image: plugins/docker |
||||
settings: |
||||
repo: harbor.k-space.ee/${DRONE_REPO} |
||||
registry: harbor.k-space.ee |
||||
mtu: 1300 |
||||
squash: true |
||||
username: |
||||
from_secret: docker_username |
||||
password: |
||||
from_secret: docker_password |
@ -1,4 +1,6 @@ |
||||
FROM python |
||||
FROM python:alpine |
||||
RUN apk add --no-cache gcc make musl-dev linux-headers |
||||
RUN pip install motor sanic sanic-prometheus sanic_wtf |
||||
RUN apk del gcc make musl-dev linux-headers |
||||
ADD lease.py / |
||||
CMD /lease.py |
||||
|
Loading…
Reference in new issue