copy alembic too

This commit is contained in:
Sebastian Hugentobler 2018-11-28 15:47:33 +01:00
parent 7b34a99f74
commit 027dbca413

View File

@ -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 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.6/site-packages /usr/lib/python3.6/site-packages
COPY --from=builder /usr/bin/alembic /usr/bin/alembic
RUN apk --no-cache add \ RUN apk --no-cache add \
ca-certificates \ ca-certificates \
@ -67,8 +68,6 @@ RUN apk --no-cache add \
py3-numpy \ py3-numpy \
py3-psycopg2 py3-psycopg2
RUN pip3 install alembic
WORKDIR /var/lib/matrix-bridge WORKDIR /var/lib/matrix-bridge
RUN mkdir /var/lib/matrix-bridge/data RUN mkdir /var/lib/matrix-bridge/data