Initial commit

This commit is contained in:
2022-01-09 16:35:39 +01:00
commit 741f63c0af
7 changed files with 557 additions and 0 deletions

16
Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM rust:1.57-alpine
WORKDIR /smartrelease
COPY . .
RUN apk update && \
apk add musl-dev && \
rm -rf /var/cache/apk
RUN cargo build --release && \
ln -s target/release/smartrelease .
EXPOSE 8080
ENTRYPOINT ["./smartrelease"]