There was already the dockerfile but it is for production evaluation and I'm not sure that is enough to use in production.
So I have built dockerfiles for mattermost in production which is based on the production installation guide for ubuntu.
Welcome to the bug reports and contributions.