Spaces:
Sleeping
Sleeping
Gusti Adli Anshari
commited on
Commit
•
a8af62d
1
Parent(s):
e4dfce5
add Dockerfile
Browse files- Dockerfile +9 -0
Dockerfile
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM rust:1.77.2-alpine3.18 AS builder
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
COPY . .
|
5 |
+
|
6 |
+
RUN apk add --no-cache musl-dev
|
7 |
+
RUN cargo install --path .
|
8 |
+
|
9 |
+
CMD [ "/usr/local/cargo/bin/rust-rocket-counter-api" ]
|