From 7b34a99f74c2698ec1e26f73e67b2a6087fd6cd2 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 28 Nov 2018 15:37:38 +0100 Subject: [PATCH] add alembic --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cc639ec..beeb8e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,8 @@ FROM thallian/confd-env:latest 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 + RUN apk --no-cache add \ ca-certificates \ python3 \ @@ -65,7 +67,7 @@ RUN apk --no-cache add \ py3-numpy \ py3-psycopg2 -COPY --from=builder /usr/lib/python3.6/site-packages /usr/lib/python3.6/site-packages +RUN pip3 install alembic WORKDIR /var/lib/matrix-bridge