„Dockerfile“ ändern
This commit is contained in:
@@ -25,13 +25,17 @@ RUN mkdir $SERVER_DIR
|
||||
RUN useradd -d $DATA_DIR -s /bin/bash --uid $UID --gid $GID steam
|
||||
RUN chown -R steam $DATA_DIR
|
||||
|
||||
RUN ulimit -n 2048
|
||||
RUN ulimit -n 1000000
|
||||
|
||||
ADD /scripts/ /opt/scripts/
|
||||
RUN chmod -R 770 /opt/scripts/
|
||||
RUN chown -R steam /opt/scripts
|
||||
RUN chmod -R 770 /var/lib/redis
|
||||
RUN chown -R steam /var/lib/redis
|
||||
RUN chown -R steam /usr/bin/redis-server
|
||||
RUN chown -R steam /usr/bin/redis-cli
|
||||
|
||||
USER steam
|
||||
|
||||
#Server Start
|
||||
ENTRYPOINT ["/opt/scripts/start-server.sh"]
|
||||
ENTRYPOINT ["/opt/scripts/start-server.sh"]
|
Reference in New Issue
Block a user