mirror of
https://codeberg.org/icewind/taspromto.git
synced 2026-06-03 16:44:11 +02:00
docker setup
This commit is contained in:
parent
0c73695f2b
commit
f7bd166df2
5 changed files with 47 additions and 3 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
FROM ekidd/rust-musl-builder AS build
|
||||
|
||||
ADD . ./
|
||||
RUN sudo chown -R rust:rust .
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
FROM scratch
|
||||
|
||||
COPY --from=build /home/rust/src/target/x86_64-unknown-linux-musl/release/taspromto /
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["/taspromto"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue