Skip to content

Commit 581b65c

Browse files
committed
Install module through pip
1 parent 38db9b5 commit 581b65c

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

Dockerfile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
FROM python:3.9-slim-buster AS build
2-
3-
RUN apt-get update && apt-get install -y git
4-
5-
WORKDIR /app
6-
71
# Download the S3 Storage Provider module
8-
RUN git clone https://github.com/matrix-org/synapse-s3-storage-provider.git
9-
102
FROM matrixdotorg/synapse:latest AS runtime
113

12-
# Copy the s3_storage_provider.py into the RUN image
13-
COPY --from=build /app/synapse-s3-storage-provider/s3_storage_provider.py /usr/local/lib/python3.9/site-packages/
14-
4+
RUN pip install synapse-s3-storage-provider

0 commit comments

Comments
 (0)