focalboard/Dockerfile
Matthew Macdonald-Wallace 6452a0de74 Add Dockerfile to run service in a container
Fixes #75

NOTE: At the moment, the focalboard version is hard-coded and there is
a bug that means the download is not actually a .tar.gz file, but a
.tgz.gz file inside a .zip file.
2021-03-17 17:07:04 +00:00

16 lines
399 B
Docker

FROM ubuntu:latest
RUN apt update
RUN apt upgrade -y
RUN apt install -y wget tar gzip unzip file
RUN wget https://releases.mattermost.com/focalboard/0.5.0/focalboard-server-linux-amd64.tar.gz
RUn unzip -o focalboard-server-linux-amd64.tar.gz
RUN tar -xvzf focalboard-server-linux-amd64.tar.gz
RUN mv focalboard /opt
EXPOSE 8000
WORKDIR /opt/focalboard
CMD /opt/focalboard/bin/focalboard-server