Skip to content
Snippets Groups Projects
Commit dddd07e5 authored by root's avatar root
Browse files

link app.db to /config

parent 7e9c7ad3
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ RUN apt-get install -y imagemagick libmagickwand-dev
RUN groupadd -g 999 appuser && \
useradd -r -u 999 -g appuser appuser
RUN mkdir -p /app /ebooks
RUN mkdir -p /app /ebooks /config
WORKDIR /app
# copy calibre-web to /app
......@@ -37,6 +37,9 @@ COPY policy.xml /etc/ImageMagick-6/policy.xml
# fix some permissions
RUN chown -R appuser /app
# symlink calibre-web config
RUN ln -s /config/app.db /app/app.db
EXPOSE 8083/tcp
USER appuser
CMD python cps.py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment