FROM node:18-alpine # Read the README, it's important # (TL;DR: quakejs is .gitignore'd, you will need to build the assets) COPY quakejs /srv/quakejs COPY server.cfg.template /srv/server.cfg.template COPY rcon.cfg.template /srv/rcon.cfg.template COPY entrypoint.sh /srv RUN chmod +x /srv/entrypoint.sh RUN chown -R node /srv RUN mkdir /bootstrap RUN chown -R node /bootstrap EXPOSE 27960 USER node ENTRYPOINT ["/srv/entrypoint.sh"]