aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-04-25 12:44:18 +0000
committerGitHub <[email protected]>2021-04-25 12:44:18 +0000
commiteee23cc237567bf21b748c70fcc12e3d1d1358e0 (patch)
tree8a0db1a9ef5aa672f4cc4ef78809ef3ef5c6dab1
parentchore: Add Nix and Docker support (diff)
downloadwhirl-eee23cc237567bf21b748c70fcc12e3d1d1358e0.tar.xz
whirl-eee23cc237567bf21b748c70fcc12e3d1d1358e0.zip
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.
-rw-r--r--Dockerfile7
1 files changed, 6 insertions, 1 deletions
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"]