summaryrefslogtreecommitdiffstats
path: root/mgr/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'mgr/docker/Dockerfile')
-rw-r--r--mgr/docker/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/mgr/docker/Dockerfile b/mgr/docker/Dockerfile
index b20a7d2..b88a8a7 100644
--- a/mgr/docker/Dockerfile
+++ b/mgr/docker/Dockerfile
@@ -43,6 +43,8 @@ RUN wget -q -O vfc-gvnfm-vnfres-res.zip 'https://nexus.onap.org/service/local/ar
RUN sed -i "s|bind-address.*|# bind-address = 127.0.0.1|" /etc/mysql/my.cnf
+VOLUME /var/lib/mysql
+
WORKDIR /service/vfc/gvnfm/vnfmgr/mgr
RUN pip install -r requirements.txt
@@ -51,4 +53,4 @@ EXPOSE 3306
EXPOSE 6379
WORKDIR /service
-ENTRYPOINT vfc/gvnfm/vnfmgr/mgr/docker/docker-entrypoint.sh \ No newline at end of file
+ENTRYPOINT vfc/gvnfm/vnfmgr/mgr/docker/docker-entrypoint.sh