veloren/server-cli/Dockerfile
Marcel Märtens c558c9de7c fix server-cli tracing accepting RUST_LOG env var and pass RUST_LOG via docker-compose rather than hardcoding it
- however RUST_BACKTRACE=1 is still hardcoded as its probably useful
- dont spam the server-cli with debug
2020-06-29 11:05:55 +02:00

17 lines
524 B
Docker

FROM debian:stable-slim
ARG PROJECTNAME=server-cli
# librust-backtrace+libbacktrace-dev = backtrace functionality
RUN apt-get update; export DEBIAN_FRONTEND=noninteractive; \
apt-get install -y --no-install-recommends --assume-yes \
librust-backtrace+libbacktrace-dev; \
rm -rf /var/lib/apt/lists/*;
COPY ./veloren-server-cli /opt/veloren-server-cli
COPY ./assets/common /opt/assets/common
COPY ./assets/world /opt/assets/world
WORKDIR /opt
CMD [ "sh", "-c", "RUST_BACKTRACE=1 /opt/veloren-server-cli" ]