add alembic

This commit is contained in:
Sebastian Hugentobler 2018-11-28 15:37:38 +01:00
parent f0ef160b35
commit 7b34a99f74

View File

@ -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