Browse Source

Initial commit

master
Lauri Võsandi 2 months ago
commit
97a89aab75
  1. 2
      .drone.yml
  2. 10
      Dockerfile
  3. 3
      README.md

2
.drone.yml

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
kind: template
load: docker.yaml

10
Dockerfile

@ -0,0 +1,10 @@ @@ -0,0 +1,10 @@
FROM python:alpine AS build
RUN apk add --no-cache gcc make musl-dev linux-headers \
&& pip3 wheel --wheel-dir=/wheels motor sanic sanic_prometheus
FROM python:alpine
COPY --from=build /wheels /wheels
RUN pip3 install --no-index --find-links /wheels/*.whl && rm -Rfv /wheels
LABEL name="k-space/microservice-base" \
version="rc" \
maintainer="Lauri Võsandi <lauri@k-space.ee>"

3
README.md

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
# Background
This is base Docker image for Sanic based microservices
Loading…
Cancel
Save