app: Make it works without volume mounting

This fixes https://github.com/mattermost/mattermost-docker/pull/32#issuecomment-226408765.
This commit is contained in:
Yi EungJun committed 2016-06-17 00:12:15 +09:00
1 parent 82a0874255
commit b7425caddb
2 files changed
+11 -2

No files matched your search

+2 -1
View File
@@ -5,9 +5,10 @@ RUN mkdir -p /mattermost/data
RUN curl https://releases.mattermost.com/3.0.2/mattermost-team-3.0.2-linux-amd64.tar.gz | tar -xvz
RUN rm /mattermost/config/config.json
COPY config.template.json /
COPY docker-entry.sh /
COPY docker-entry.sh /
RUN chmod +x /docker-entry.sh
ENTRYPOINT ["/docker-entry.sh"]