Update Dockerfile
This commit is contained in:
parent
3d3bbfd7bd
commit
79cca1eb1a
|
@ -2,8 +2,8 @@ FROM debian:buster-slim
|
|||
|
||||
RUN mkdir /opt/tmserver
|
||||
|
||||
COPY tmserver/ /opt/tmserver
|
||||
COPY entrypoint-tmserver.sh /opt/tmserver
|
||||
COPY tmserver/ /opt/tmserver/
|
||||
COPY entrypoint-tmserver.sh /opt/tmserver/
|
||||
|
||||
RUN apt update \
|
||||
&& apt install pwgen gettext-base
|
||||
|
@ -11,7 +11,6 @@ RUN apt update \
|
|||
RUN groupadd trackmania
|
||||
RUN useradd -M -g trackmania trackmania
|
||||
RUN chown -R trackmania:trackmania /opt/tmserver
|
||||
RUN chown trackmania:trackmania /opt/tmserver/entrypoint-tmserver.sh
|
||||
|
||||
USER trackmania
|
||||
WORKDIR /opt/tmserver
|
||||
|
|
Loading…
Reference in New Issue