This commit is contained in:
parent
9e7c49884a
commit
1acc7e2ea9
17
.drone.yml
17
.drone.yml
@ -1,16 +1,3 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: default
|
||||
kind: template
|
||||
load: docker.yaml
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: harbor.k-space.ee/${DRONE_REPO}
|
||||
registry: harbor.k-space.ee
|
||||
mtu: 1300
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
|
@ -1,6 +1,4 @@
|
||||
FROM python:3
|
||||
FROM harbor.k-space.ee/k-space/microservice-base
|
||||
WORKDIR /app
|
||||
COPY requirements.txt ./
|
||||
RUN pip install -r requirements.txt
|
||||
COPY *.py ./
|
||||
CMD python doorboy.py
|
||||
|
Loading…
Reference in New Issue
Block a user