docker-tmserver/Dockerfile

18 lines
426 B
Docker
Raw Normal View History

FROM fanyx/php:5.6
2019-05-11 16:21:21 +02:00
COPY tmserver/ /opt/
COPY xaseco/ /opt/
2019-05-11 16:09:58 +02:00
COPY ./entrypoint.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 -R trackmania:trackmania /opt/xaseco
RUN chown trackmania:trackmania /entrypoint.sh
USER trackmania
WORKDIR /opt/tmserver
2019-05-11 16:09:58 +02:00
CMD ["/bin/bash", "/entrypoint.sh", "start", "tmserver"]