copy the python 3.9 modules to the 3.9 path and not 3.8

This commit is contained in:
Sebastian Hugentobler 2021-06-28 16:06:52 +02:00
parent b118f54101
commit c8863a5781
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -47,7 +47,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.9/site-packages /usr/lib/python3.8/site-packages
COPY --from=builder /usr/lib/python3.9/site-packages /usr/lib/python3.9/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