12 lines
407 B
Docker
12 lines
407 B
Docker
FROM docker.io/library/debian:bookworm-slim
|
|
RUN groupadd mnemosyne
|
|
RUN useradd -d /var/lib/mnemosyne -g mnemosyne -r mnemosyne
|
|
RUN mkdir -p /var/lib/mnemosyne
|
|
RUN chown mnemosyne:mnemosyne /var/lib/mnemosyne
|
|
RUN apt-get update
|
|
RUN apt-get install -y mnemosyne
|
|
RUN apt-get clean
|
|
|
|
WORKDIR /var/lib/mnemosyne
|
|
USER mnemosyne
|
|
CMD /usr/bin/mnemosyne --debug=data/debug.log -d /var/lib/mnemosyne/data --sync-server |