mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-17 03:43:11 -06:00
Remove Dockerfile-p2p too
This commit is contained in:
parent
e5a250c565
commit
4f289382b4
|
|
@ -1,32 +0,0 @@
|
||||||
FROM postgres:12.1-alpine AS postgres
|
|
||||||
|
|
||||||
#####
|
|
||||||
|
|
||||||
FROM vectorim/riot-web AS riot
|
|
||||||
|
|
||||||
#####
|
|
||||||
|
|
||||||
FROM alpine:latest AS final
|
|
||||||
|
|
||||||
RUN apk --update --no-cache add openssl
|
|
||||||
|
|
||||||
VOLUME /var/lib/postgresql/data
|
|
||||||
|
|
||||||
COPY --from=riot . /
|
|
||||||
COPY --from=postgres . /
|
|
||||||
|
|
||||||
ENV PGDATA=/var/lib/postgresql/data
|
|
||||||
|
|
||||||
ADD docker/p2p-entrypoint.sh /usr/local/bin
|
|
||||||
ADD docker/p2p-riot-config.json /app/config.json
|
|
||||||
ADD docker/postgres/create_db.sh /docker-entrypoint-initdb.d/create_db.sh
|
|
||||||
|
|
||||||
RUN chmod +x /docker-entrypoint-initdb.d/create_db.sh
|
|
||||||
RUN adduser --system nginx
|
|
||||||
RUN addgroup --system nginx
|
|
||||||
RUN rm -rf /usr/share/nginx/html && ln -s /app /usr/share/nginx/html
|
|
||||||
|
|
||||||
CMD sh /usr/local/bin/p2p-entrypoint.sh
|
|
||||||
|
|
||||||
EXPOSE 80
|
|
||||||
EXPOSE 5432
|
|
||||||
Loading…
Reference in a new issue