docker-tmserver/Dockerfile

18 lines
394 B
Docker
Raw Normal View History

FROM debian:stretch-slim
RUN mkdir /opt/tmserver
COPY tmserver/ /opt/tmserver/
COPY ./entrypoint-tmserver.sh /
2019-05-11 04:11:24 +02:00
RUN apt update \
2019-05-11 16:09:58 +02:00
&& apt install pwgen
RUN groupadd trackmania
RUN useradd -M -g trackmania trackmania
RUN chown -R trackmania:trackmania /opt/tmserver
RUN chown trackmania:trackmania /entrypoint-tmserver.sh
USER trackmania
WORKDIR /opt/tmserver
CMD ["/entrypoint-tmserver.sh"]