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