summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compass-db/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/compass-db/Dockerfile b/compass-db/Dockerfile
index 82871b9..997c0ab 100644
--- a/compass-db/Dockerfile
+++ b/compass-db/Dockerfile
@@ -10,4 +10,6 @@ RUN apt-get update && \
COPY entrypoint.sh /sbin/entrypoint.sh
RUN chmod 755 /sbin/entrypoint.sh
+VOLUME ["/var/lib/mysql"]
+
CMD ["/sbin/entrypoint.sh"]