mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 22:31:18 +00:00
Set the path to include /files and stop adding the server script so we can develop it without building.
This commit is contained in:
parent
8ba598b549
commit
296fc55765
1 changed files with 3 additions and 5 deletions
|
@ -42,8 +42,9 @@ ENV LC_ALL en_US.UTF-8
|
|||
# Add py3rcon
|
||||
RUN cd /usr/local && git clone https://github.com/indepth666/py3rcon.git
|
||||
|
||||
# steamcmd ends up in /usr/games
|
||||
ENV PATH /usr/games:/usr/local/py3rcon:${PATH}
|
||||
# Steamcmd needs its path added, as it ends up in /usr/games.
|
||||
# Our server script is bind mounted in /files in docker-compose.
|
||||
ENV PATH /usr/games:/files:${PATH}
|
||||
|
||||
# Setup a non-privileged user
|
||||
RUN groupadd user && \
|
||||
|
@ -51,9 +52,6 @@ RUN groupadd user && \
|
|||
mkdir /home/user && \
|
||||
chown user:user /home/user
|
||||
|
||||
# Add the dayzserver to a directory in PATH. Might as well be /usr/games!
|
||||
#ADD files/dayzserver /usr/games
|
||||
|
||||
# Use our non-privileged user
|
||||
USER user
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue