view docker/backend-dev-demo/Dockerfile @ 4216:1a7a3e4b52a4

core (memory/migration): Update XEP-0384 and `fe3a02cb4bec_convert_legacypickle_columns_to_json.py` migration to properly handle (de)serialisation of `TrustMessageCacheEntry`.
author Goffi <goffi@goffi.org>
date Tue, 05 Mar 2024 17:31:12 +0100
parents 6a8cc6d668a4
children
line wrap: on
line source

FROM libervia/backend:dev

LABEL maintainer="Goffi <tmp_dockerfiles@goffi.org>"

USER root

# we install pre-generated demo certificates so they can be trusted
COPY --chown=root:root certificates/minica.pem /usr/local/share/ca-certificates/minica.crt
COPY --chown=root:tls-cert certificates/server1.test/cert.pem /usr/share/libervia/certificates/server1.test.pem
COPY --chown=root:tls-cert certificates/server1.test/key.pem /usr/share/libervia/certificates/server1.test-key.pem
RUN update-ca-certificates

COPY --chown=root:root libervia.conf /etc/libervia.conf

USER libervia

COPY --chown=libervia:libervia forums.json /home/libervia/
COPY --chown=libervia:libervia scripts/init_script.sh /home/libervia/

USER libervia
# HTTP Upload
EXPOSE 7777