You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
548 B

FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
RUN mkdir -p /app/code /app/data
WORKDIR /app/code
ENV VERSION=0.8.0
RUN curl -L https://github.com/mattermost/focalboard/releases/download/v${VERSION}/focalboard-server-linux-amd64.tar.gz | tar zx --strip-components 1 -C /app/code
# copy start script
RUN rm /app/code/config.json
ADD start.sh /app/code/
ADD config.json /app/data
RUN rm -rf /app/code/config.json && ln -s /app/data/config.json /app/code/config.json
CMD [ "/app/code/start.sh" ]