anki-connect/tests/docker/2.1.x/Dockerfile

14 lines
306 B
Docker
Raw Normal View History

FROM txgio/anki:2.1.0beta14
2017-08-29 04:21:32 +00:00
RUN apt-get update && \
apt-get install -y xvfb
COPY AnkiConnect.py /data/addons21/AnkiConnect/__init__.py
2017-08-29 20:19:21 +00:00
COPY tests/docker/2.1.x/prefs21.db /data/prefs21.db
2017-08-29 20:19:21 +00:00
ADD tests/docker/2.1.x/entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
2017-08-29 04:21:32 +00:00
CMD ["anki", "-b", "/data"]