FROM alpine RUN apk --update add ca-certificates redis fortune RUN mkdir /redisbackup/ RUN rm -rf /usr/share/fortune COPY fortune/ /usr/share/fortune WORKDIR /usr/share/fortune/ RUN strfile -c % fortunes fortunes.dat RUN strfile -c % kenm kenm.dat RUN strfile -c % showerthoughts showerthoughts.dat #ADD rootfs.tar.gz / COPY redis.conf / COPY config.gcfg / COPY lorebot / COPY run.sh / WORKDIR / CMD ["/run.sh"]