18 lines
366 B
Docker
18 lines
366 B
Docker
FROM fanyx/php
|
|
|
|
RUN mkdir /opt/xaseco
|
|
|
|
COPY xaseco/ /opt/xaseco/
|
|
COPY ./entrypoint-xaseco.sh /
|
|
|
|
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
|
|
CMD ["/entrypoint-xaseco.sh"]
|