summaryrefslogtreecommitdiff
path: root/tests/Complement.Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Complement.Dockerfile')
-rw-r--r--tests/Complement.Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/Complement.Dockerfile b/tests/Complement.Dockerfile
new file mode 100644
index 0000000..56e4bf7
--- /dev/null
+++ b/tests/Complement.Dockerfile
@@ -0,0 +1,10 @@
+FROM valkum/docker-rust-ci:latest
+WORKDIR /build
+
+COPY . .
+RUN cargo build
+
+ENV SERVER_NAME=localhost
+EXPOSE 14004 8448
+
+CMD sed "s/server_name: your.server.name/server_name: ${SERVER_NAME}/g" Rocket-example.toml Rocket.toml && ./target/debug/conduit \ No newline at end of file