From e0de4055862478da6b4f49cc3bab3a150ae04d4d Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 25 Apr 2021 12:44:18 -0700 Subject: fix: Add run subcommand to CMD instruction This commit also adds a usage notice regarding the stability of this configuration. I will be experimenting more with Docker to try and stabilise this configuration in the near future. --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a3f1595..70d6ac4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,8 @@ +# # NOTICE +# This Dockerfile is *probably* not stable as of 2021. 04. 25. +# +# Can you use it? Yes, but you probably shouldn't. + FROM rustlang/rust:nightly-slim AS build WORKDIR /src/whirl @@ -10,4 +15,4 @@ FROM ubuntu:18.04 COPY --from=build /src/whirl/target/release/whirl /usr/local/bin/whirl -CMD ["usr/local/bin/whirl"] +CMD ["usr/local/bin/whirl", "run"] -- cgit v1.2.3 From c89bdba2c54d1e35a224eaa01ba4a8cb4b88805a Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 25 Apr 2021 21:48:57 -0700 Subject: fix: License to SPDX format --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index de0fd83..09e8bdd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ documentation = "https://www.whirlsplash.org" readme = "README.md" homepage = "https://whirlsplash.org" repository = "https://github.com/Whirlsplash/whirl" -license = "GPLv3" +license = "GPL-3.0-only" # license-file = "LICENSE" keywords = ["rust", "worldserver", "whirl", "whirlsplash"] publish = false -- cgit v1.2.3