anki-connect/tests/docker/2.1.x/Dockerfile
2017-08-29 17:16:06 -03:00

14 lines
285 B
Docker

FROM txgio/anki:2.1.0beta14
RUN apt-get update && \
apt-get install -y xvfb
COPY AnkiConnect.py /data/addons21/AnkiConnect.py
COPY tests/docker/prefs21.db /data/prefs21.db
ADD tests/docker/entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["anki", "-b", "/data"]