Fix path in Dockerfile.api (#403)

This commit is contained in:
David Straub
2024-03-16 09:10:29 +01:00
parent e281e98a0b
commit d249afdd2e

View File

@@ -5,8 +5,7 @@ COPY config.cfg /app/config/
# extract & use Gramps example tree
ENV GRAMPS_RESOURCES /usr/share/
RUN cp -r /usr/share/doc/gramps/example/gramps/example.gramps.gz .
RUN gunzip example.gramps.gz
RUN cp -r /usr/local/share/doc/gramps/example/gramps/example.gramps .
RUN gramps -C Example -i example.gramps --config=database.backend:sqlite --config=database.path:/root/.gramps/grampsdb
RUN rm -rf appcache