Change the working dir for plugins to work (#218)

Fix https://github.com/mattermost/mattermost-docker/issues/217 with the default configuration on the PluginSettings as they use relative paths.
This commit is contained in:
Veovis 2018-01-01 17:58:08 +01:00 committed by Kyâne Pichou
parent 283d2b71f0
commit dfe76684f4

View File

@ -26,7 +26,7 @@ RUN mkdir -p /mattermost/data \
# Configure entrypoint and command # Configure entrypoint and command
COPY entrypoint.sh / COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
WORKDIR /mattermost/bin WORKDIR /mattermost
CMD ["platform"] CMD ["platform"]
# Expose port 80 of the container # Expose port 80 of the container