FROM debian # install needed packages RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y \ ttyrec \ nethack-console \ redis-server \ vim # make required dirs RUN mkdir -p /redisbackup/ # update nethack bin location RUN mv /usr/games/nethack /bin/nethack RUN mkdir /hack/ # copy in files COPY config.gcfg / COPY nethack-launcher / COPY redis.conf / COPY run.sh / COPY nethackrc /hack/.nethackrc CMD ["/run.sh"]