anki-connect/tests/docker/Dockerfile
2017-08-29 01:54:41 -03:00

14 lines
274 B
Docker

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