rework database handling

This commit is contained in:
Aaron Reisman
2024-11-14 00:38:04 -06:00
parent 9ed6c1fd0d
commit e0dd9b845a
2 changed files with 49 additions and 19 deletions

View File

@@ -22,8 +22,11 @@ ENV SLEEP_TIME=-1
ENV LIBATION_CONFIG_INTERNAL=/config-internal
ENV LIBATION_CONFIG_DIR=/config
ENV LIBATION_DB_DIR=/db
ENV LIBATION_DB_FILE=
ENV LIBATION_CREATE_DB=true
ENV LIBATION_BOOKS_DIR=/data
RUN apt-get update && apt-get -y upgrade && \
apt-get install -y jq && \
mkdir -m777 ${LIBATION_CONFIG_INTERNAL} ${LIBATION_BOOKS_DIR}