This repository has been archived on 2021-08-31. You can view files and clone it, but cannot push or open issues or pull requests.
mattermost/app/Dockerfile

24 lines
581 B
Docker
Raw Normal View History

FROM ubuntu:14.04
2015-12-09 09:17:25 +01:00
RUN apt-get update && apt-get -y upgrade && apt-get -y install wget netcat
RUN mkdir -p /mattermost/data
RUN touch /etc/init/mattermost.conf
RUN echo $'start on runlevel [2345]\n\
stop on runlevel [016]\n\
respawn\n\
chdir /mattermost\n\
exec bin/platform\n'\
>> /etc/init/mattermost.conf
2016-01-25 02:44:32 +01:00
RUN wget https://github.com/mattermost/platform/releases/download/v1.4.0/mattermost.tar.gz \
&& tar -xvzf mattermost.tar.gz && rm mattermost.tar.gz
COPY config.template.json /
COPY docker-entry.sh /
RUN chmod +x /docker-entry.sh
ENTRYPOINT /docker-entry.sh
EXPOSE 80