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.
 
 

20 lines
591 B

FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
RUN mkdir -p /app/code /app/data
WORKDIR /app/code
# ffmpeg required
RUN apt-get -y update && \
apt-get update && \
apt -y install ffmpeg x264 x265 && \
rm -rf /var/cache/apt /var/lib/apt/lists
ENV VERSION=2.0.23
RUN wget "https://github.com/gotify/server/releases/download/v${VERSION}/gotify-linux-amd64.zip" -O /app/data/gotify.zip && \
unzip /app/data/gotify.zip -d /app/data
# copy start script
ADD start.sh /app/code/
ADD config.yml /app/data
CMD [ "/app/code/start.sh" ]