From 027dbca413ec98787ce8e8fa45624a7bc7e7a93f Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 28 Nov 2018 15:47:33 +0100 Subject: [PATCH] copy alembic too --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index beeb8e8..5b0d541 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,6 +37,7 @@ 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/bin/alembic /usr/bin/alembic RUN apk --no-cache add \ ca-certificates \ @@ -67,8 +68,6 @@ RUN apk --no-cache add \ py3-numpy \ py3-psycopg2 -RUN pip3 install alembic - WORKDIR /var/lib/matrix-bridge RUN mkdir /var/lib/matrix-bridge/data