Cherry pick prometheus-sanic and add pyjwt
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
97a89aab75
commit
23dec9ed6b
@ -1,7 +1,10 @@
|
|||||||
FROM python:alpine AS build
|
FROM python:alpine AS build
|
||||||
RUN apk add --no-cache gcc make musl-dev linux-headers \
|
RUN apk add --no-cache gcc make musl-dev linux-headers git \
|
||||||
&& pip3 wheel --wheel-dir=/wheels motor sanic sanic_prometheus
|
&& pip3 wheel --wheel-dir=/wheels \
|
||||||
|
motor \
|
||||||
|
pyjwt \
|
||||||
|
sanic \
|
||||||
|
git+https://github.com/Assarius/sanic-prometheus@Sanic_22
|
||||||
FROM python:alpine
|
FROM python:alpine
|
||||||
COPY --from=build /wheels /wheels
|
COPY --from=build /wheels /wheels
|
||||||
RUN pip3 install --no-index --find-links /wheels/*.whl && rm -Rfv /wheels
|
RUN pip3 install --no-index --find-links /wheels/*.whl && rm -Rfv /wheels
|
||||||
|
Loading…
Reference in New Issue
Block a user