2017-08-29 04:21:32 +00:00
|
|
|
FROM txgio/anki:2.0.45
|
2017-07-06 03:14:04 +00:00
|
|
|
|
2017-08-29 04:21:32 +00:00
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y xvfb
|
2017-07-06 03:53:54 +00:00
|
|
|
|
2017-08-29 04:51:51 +00:00
|
|
|
#COPY AnkiConnect.py /data/addons/AnkiConnect.py
|
2017-07-06 03:14:04 +00:00
|
|
|
|
2017-08-29 04:21:32 +00:00
|
|
|
COPY tests/docker/prefs.db /data/prefs.db
|
2017-07-06 03:14:04 +00:00
|
|
|
|
2017-08-29 03:18:10 +00:00
|
|
|
ADD tests/docker/entrypoint.sh /entrypoint.sh
|
2017-07-06 03:53:54 +00:00
|
|
|
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
|
2017-08-29 04:21:32 +00:00
|
|
|
CMD ["anki", "-b", "/data"]
|