ViViV_
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
2 deletions
-
dockerfile
|
|
|
@ -9,11 +9,13 @@ RUN apk add --update --no-cache curl ca-certificates openssl git tar bas |
|
|
|
&& adduser -D -h /home/container container |
|
|
|
|
|
|
|
ADD . /home/container/ |
|
|
|
USER container |
|
|
|
ENV USER=container HOME=/home/container |
|
|
|
USER root |
|
|
|
ENV USER=root HOME=/home/container |
|
|
|
|
|
|
|
WORKDIR /home/container |
|
|
|
|
|
|
|
VOLUME /data/mindustry |
|
|
|
|
|
|
|
COPY ./entrypoint.sh /entrypoint.sh |
|
|
|
|
|
|
|
CMD ["/bin/bash", "/entrypoint.sh"] |