Skip to content

Commit

Permalink
Merge pull request #76 from proffalken/feature/75_docker_installation
Browse files Browse the repository at this point in the history
Add Dockerfile to run service in a container
  • Loading branch information
jespino authored Mar 18, 2021
2 parents 6a37071 + 463b38d commit 33aba94
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 33aba94

Please sign in to comment.