From a30dd05b6a130bc1111e08bb0547f6629a1ee5b9 Mon Sep 17 00:00:00 2001 From: BuffaloWill Date: Thu, 30 Jan 2020 14:24:01 -0500 Subject: [PATCH] update needed for docker volume sharing --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 84f4d9d0..2d271d95 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ COPY ./docker/docker.sh scripts/docker.sh RUN bundle install # Allow DB to be on a shared volume -VOLUME ["$SRP_ROOT/"] +VOLUME ["$SRP_ROOT/db", "$SRP_ROOT/templates", "$SRP_ROOT/attachments", "$SRP_ROOT/tmp"] EXPOSE 8443 -CMD ["bash", "scripts/docker.sh"] +CMD bash scripts/docker.sh