mirror of
https://codeberg.org/icewind/shelve.git
synced 2026-06-03 12:04:09 +02:00
ci
This commit is contained in:
parent
f6b09d03ef
commit
e7c6b72d27
3 changed files with 78 additions and 9 deletions
18
Dockerfile
18
Dockerfile
|
|
@ -1,13 +1,13 @@
|
|||
#FROM ekidd/rust-musl-builder AS build
|
||||
#
|
||||
#ADD . ./
|
||||
#RUN sudo chown -R rust:rust .
|
||||
#
|
||||
#RUN cargo build --release
|
||||
#
|
||||
FROM ekidd/rust-musl-builder AS build
|
||||
|
||||
ADD . ./
|
||||
RUN sudo chown -R rust:rust .
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
FROM alpine:latest
|
||||
#
|
||||
#COPY --from=build /home/rust/src/target/x86_64-unknown-linux-musl/release/shelve /
|
||||
|
||||
COPY --from=build /home/rust/src/target/x86_64-unknown-linux-musl/release/shelve /
|
||||
RUN mkdir /data
|
||||
ADD ./target/x86_64-unknown-linux-musl/release/shelve /
|
||||
EXPOSE 80
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue