mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-26 18:48:15 +02:00
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.
This commit is contained in:
parent
c7b6ebe709
commit
6452a0de74
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user