diff options
Diffstat (limited to 'distribution/cassandra/Dockerfile')
-rw-r--r-- | distribution/cassandra/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/distribution/cassandra/Dockerfile b/distribution/cassandra/Dockerfile index 0e851f47..9405fcb3 100644 --- a/distribution/cassandra/Dockerfile +++ b/distribution/cassandra/Dockerfile @@ -4,5 +4,6 @@ RUN mkdir -p /docker-entrypoint-initdb.d && mkdir -p /home/cassandra/.cassandra COPY cassandra.yaml /etc/cassandra/ COPY music_single.cql /docker-entrypoint-initdb.d/ COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh -RUN chmod 755 /usr/local/bin/docker-entrypoint.sh +RUN chmod 755 /usr/local/bin/docker-entrypoint.sh && chown -R cassandra /docker-entrypoint-initdb.d + ENTRYPOINT ["docker-entrypoint.sh"] |