Skip to content

Commit

Permalink
Try to fix docker build failed.
Browse files Browse the repository at this point in the history
  • Loading branch information
yingziwu committed Apr 19, 2024
1 parent 7afb04c commit fd694b7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@ WORKDIR /synapse
# Copy just what we need to run `poetry export`...
COPY pyproject.toml poetry.lock /synapse/

# Fix Package docutils (0.21.post1) not found.
# https://github.com/python-poetry/poetry/issues/9293
RUN cat > /synapse/pyproject.toml <<<EOF

[[tool.poetry.source]]
name = "pypi-public"
url = "https://pypi.org/simple/"
EOF

# Install custom extensions
RUN /root/.local/bin/poetry add --lock -- \
"git+https://github.com/devture/matrix-synapse-shared-secret-auth#master" \
Expand Down

0 comments on commit fd694b7

Please sign in to comment.