aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorAleksa Vuckovic <aleksa@vuckovic.cc>2024-08-14 07:45:43 +0200
committerAleksa Vuckovic <aleksa@vuckovic.cc>2024-08-17 23:58:13 +0200
commit021ca9b3601c1c9bf58b9c1aecc8bd7e0c7ed9b4 (patch)
treeb455017ccfa74c78d03c81a1e9863a0d30f25710 /Dockerfile
Initial commitHEADmaster
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..7eac7bb
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,9 @@
+FROM rust:latest as builder
+
+WORKDIR /app
+COPY . .
+RUN cargo build --release
+
+EXPOSE 3000
+
+CMD ["cargo", "run", "--release"]