2020-02-25 23:10:00 +00:00
|
|
|
FROM debian:stable-slim
|
|
|
|
|
|
|
|
ARG PROJECTNAME=server-cli
|
|
|
|
|
2020-04-09 11:22:34 +00:00
|
|
|
# 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/*;
|
|
|
|
|
2020-02-25 23:10:00 +00:00
|
|
|
COPY ./veloren-server-cli /opt/veloren-server-cli
|
|
|
|
COPY ./assets/common /opt/assets/common
|
|
|
|
COPY ./assets/world /opt/assets/world
|
2020-03-22 12:44:32 +00:00
|
|
|
|
|
|
|
WORKDIR /opt
|
2020-03-22 14:56:14 +00:00
|
|
|
CMD [ "sh", "-c", "RUST_LOG=info,common=debug,common::net=info RUST_BACKTRACE=1 /opt/veloren-server-cli" ]
|