aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..d1ece082
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,10 @@
+FROM archlinux:latest
+
+RUN mkdir -p /garage/meta
+RUN mkdir -p /garage/data
+ENV RUST_BACKTRACE=1
+ENV RUST_LOG=garage=debug
+
+COPY target/release/garage.stripped /garage/garage
+
+CMD /garage/garage server -c /garage/config.toml