2022-05-03 04:48:04 +00:00
|
|
|
FROM python:alpine AS build
|
2022-07-28 06:01:09 +00:00
|
|
|
RUN apk add --no-cache gcc make musl-dev linux-headers git \
|
|
|
|
&& pip3 wheel --wheel-dir=/wheels \
|
|
|
|
motor \
|
|
|
|
pyjwt \
|
|
|
|
sanic \
|
2022-08-02 13:14:43 +00:00
|
|
|
pyyaml \
|
|
|
|
kubernetes_asyncio \
|
2022-07-28 06:01:09 +00:00
|
|
|
git+https://github.com/Assarius/sanic-prometheus@Sanic_22
|
2022-05-03 04:48:04 +00:00
|
|
|
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>"
|