Switch to new base image

master
Lauri Võsandi 5 months ago
parent 9e7c49884a
commit 1acc7e2ea9
  1. 17
      .drone.yml
  2. 4
      Dockerfile

@ -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…
Cancel
Save