docker-tmserver/Dockerfile

17 lines
350 B
Docker
Raw Normal View History

FROM fanyx/php:5.6
2019-05-11 04:11:24 +02:00
COPY /tmserver:/opt/tmserver
COPY /xaseco:/opt/xaseco
RUN apt update \
2019-05-11 04:11:24 +02:00
&& groupadd trackmania \
&& useradd -M -g trackmania trackmania \
&& chown -R trackmania:trackmania /opt/tmserver \
&& chown -R trackmania:trackmania /opt/xaseco
USER trackmania
WORKDIR /opt/tmserver
ENTRYPOINT ["./tmserver"]
2019-05-11 04:11:24 +02:00
CMD ["start", "tmserver"]