1
0

Include some dockerfile changes from develop

I think these may have been retained in merge confusion.
This commit is contained in:
David Robertson
2022-04-14 10:42:57 +01:00
parent 0cf4705393
commit 988ff6167d
2 changed files with 3 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ RUN pip install --prefix="/install" --no-deps --no-warn-script-location /synapse
### Stage 2: runtime
###
FROM base
FROM docker.io/python:${PYTHON_VERSION}-slim
LABEL org.opencontainers.image.url='https://matrix.org/docs/projects/server/synapse'
LABEL org.opencontainers.image.documentation='https://github.com/matrix-org/synapse/blob/master/docker/README.md'
@@ -129,7 +129,7 @@ RUN \
openssl \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /synapse/ /synapse
COPY --from=builder /install /usr/local
COPY ./docker/start.py /start.py
COPY ./docker/conf /conf

View File

@@ -1,4 +1,4 @@
#!/synapse/.venv/bin/python
#!/usr/local/bin/python
import codecs
import glob