upgrade to python 3.7

This commit is contained in:
Sebastian Hugentobler 2019-06-20 10:49:30 +02:00
parent 76350698a7
commit 45e3a9ddaf

View File

@ -1,6 +1,6 @@
FROM alpine:3.10 as builder
ENV VERSION=v0.5.1
ENV VERSION=v0.5.2
RUN apk --no-cache add \
gcc \
@ -42,7 +42,7 @@ ENV FFMPEG_BINARY=/usr/bin/ffmpeg
RUN addgroup -g 2222 matrix-bridge
RUN adduser -h /var/lib/matrix-bridge -u 2222 -D -G matrix-bridge matrix-bridge
COPY --from=builder /usr/lib/python3.6/site-packages /usr/lib/python3.6/site-packages
COPY --from=builder /usr/lib/python3.7/site-packages /usr/lib/python3.7/site-packages
COPY --from=builder /usr/bin/alembic /usr/bin/alembic
COPY --from=builder /tmp/mautrix-telegram/alembic /var/lib/matrix-bridge/alembic
COPY --from=builder /tmp/mautrix-telegram/alembic.ini /var/lib/matrix-bridge/alembic.ini