1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-10-31 00:17:42 +02:00

add docker-compose

This commit is contained in:
Jeremiah Butler
2021-03-18 15:53:38 +00:00
parent 1ed5659bc7
commit 7fa9017d25
3 changed files with 37 additions and 3 deletions

17
docker/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM ubuntu:20.04
# Make sure that the underlying container is patched to the latest versions
RUN apt-get update && \
apt-get install -y wget tar unzip gzip 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