mirror of
https://github.com/luzifer-docker/factorio.git
synced 2024-11-09 15:20:00 +00:00
Put saves into data dir
This commit is contained in:
parent
c21dccf82d
commit
3722dba10c
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ RUN set -ex \
|
|||
&& useradd -d /opt/factorio -M -u 10000 factorio \
|
||||
&& tar -C /opt -x -z -f /tmp/factorio.tgz \
|
||||
&& chown -R factorio:factorio /opt/factorio \
|
||||
&& rm /tmp/factorio.tgz
|
||||
&& rm /tmp/factorio.tgz \
|
||||
&& sed -i "s;^write-data=.*$;write-data=/data;" /opt/factorio/config/config.ini
|
||||
|
||||
USER factorio
|
||||
|
||||
|
|
Loading…
Reference in a new issue