Merge pull request #76 from proffalken/feature/75_docker_installation

Add Dockerfile to run service in a container
This commit is contained in:
Jesús Espino 2021-03-18 11:32:04 +01:00 committed by GitHub
commit 33aba9412b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
Dockerfile Normal file
View file

@ -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