mirror of
https://github.com/bytedream/smartrelease.git
synced 2025-06-27 01:50:31 +02:00
Initial commit
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user