Update Dockerfile

corrected COPY path
This commit is contained in:
ryluth 2019-09-27 10:45:03 +02:00 committed by GitHub
parent 1a9835192b
commit 82679ffa2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
FROM debian:buster-slim FROM debian:buster-slim
COPY tmserver/ /opt/ COPY tmserver/ /opt/tmserver
COPY entrypoint-tmserver.sh /opt/tmserver/ COPY entrypoint-tmserver.sh /opt/tmserver/
RUN apt update \ RUN apt update \
@ -11,6 +11,5 @@ RUN useradd -M -g trackmania trackmania
RUN chown -R trackmania:trackmania /opt/tmserver RUN chown -R trackmania:trackmania /opt/tmserver
USER trackmania USER trackmania
WORKDIR /opt/tmserver
ENTRYPOINT ./entrypoint-tmserver.sh CMD ["/opt/tmserver/entrypoint-tmserver.sh"]