„Dockerfile“ ändern

This commit is contained in:
2019-08-12 18:12:45 +02:00
parent 2301b82db0
commit fe98b5c36c

View File

@@ -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"]