comparison docker/backend-dev-demo/Dockerfile @ 4201:6a8cc6d668a4

docker (demo): create file-sharing and demo account in init script
author Goffi <goffi@goffi.org>
date Thu, 14 Dec 2023 09:19:32 +0100
parents 22cd3094cd1e
children
comparison
equal deleted inserted replaced
4200:5d2de6c1156d 4201:6a8cc6d668a4
12 12
13 COPY --chown=root:root libervia.conf /etc/libervia.conf 13 COPY --chown=root:root libervia.conf /etc/libervia.conf
14 14
15 USER libervia 15 USER libervia
16 16
17 RUN ./entrypoint.sh \
18 # we create the file sharing component which will autoconnect when backend is started
19 libervia-cli profile create file-sharing -j files.server1.test -p "" --xmpp-password test_e2e -C file-sharing -A && \
20 libervia-backend stop
21
22 RUN ./entrypoint.sh \
23 # and a demo account
24 libervia-cli profile create demo -j demo@server1.test -p "demo" && \
25 libervia-backend stop
26
27 COPY --chown=libervia:libervia forums.json /home/libervia/ 17 COPY --chown=libervia:libervia forums.json /home/libervia/
28 COPY --chown=libervia:libervia scripts/init_script.sh /home/libervia/ 18 COPY --chown=libervia:libervia scripts/init_script.sh /home/libervia/
29 19
30 USER libervia 20 USER libervia
31 # HTTP Upload 21 # HTTP Upload