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.
21 lines
439 B
21 lines
439 B
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"]
|
|
|