docker-tmserver/docker-xaseco/Dockerfile

18 lines
366 B
Docker
Raw Normal View History

FROM fanyx/php
RUN mkdir /opt/xaseco
COPY xaseco/ /opt/xaseco/
COPY ./entrypoint-xaseco.sh /
2019-05-12 15:34:02 +02:00
RUN apt update \
&& apt upgrade -y
RUN groupadd trackmania
RUN useradd -M -g trackmania trackmania
RUN chown -R trackmania:trackmania /opt/xaseco
RUN chown trackmania:trackmania /entrypoint-xaseco.sh
USER trackmania
WORKDIR /opt/xaseco
2019-05-12 15:08:37 +02:00
CMD ["/entrypoint-xaseco.sh"]