diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000000..9ccb5988be5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM ubuntu:latest + +# Make sure that the underlying container is patched to the latest versions +RUN apt update && \ + apt install -y wget tar gzip unzip file + +# Now install Focalboard as a seperate layer +RUN wget https://releases.mattermost.com/focalboard/0.5.0/focalboard-server-linux-amd64.tar.gz && \ + unzip -o focalboard-server-linux-amd64.tar.gz && \ + tar -xvzf focalboard-server-linux-amd64.tar.gz && \ + mv focalboard /opt + +EXPOSE 8000 + +WORKDIR /opt/focalboard + +CMD /opt/focalboard/bin/focalboard-server