microservice-base/Dockerfile
Lauri Võsandi d21fd5bd24
All checks were successful
continuous-integration/drone Build is passing
Add velebit-useful-logs
2022-08-02 22:41:25 +03:00

17 lines
544 B
Docker

FROM python:alpine AS build
RUN apk add --no-cache gcc make musl-dev linux-headers git \
&& pip3 wheel --wheel-dir=/wheels \
git+https://github.com/Assarius/sanic-prometheus@Sanic_22 \
kubernetes_asyncio \
motor \
pyjwt \
pyyaml \
sanic \
velebit-useful-logs
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>"