Merge pull request #76 from proffalken/feature/75_docker_installation
Add Dockerfile to run service in a container
This commit is contained in:
commit
33aba9412b
1 changed files with 17 additions and 0 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal 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
|
Loading…
Reference in a new issue