update
This commit is contained in:
parent
92ae649cf6
commit
65fc17d331
574
Cargo.lock
generated
574
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "brownpaper"
|
name = "brownpaper"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
authors = ["shimun <shimun@shimun.net>"]
|
authors = ["shimun <shimun@shimun.net>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ rand = "0.4.2"
|
|||||||
|
|
||||||
byteorder = "1.3.2"
|
byteorder = "1.3.2"
|
||||||
chrono = "0.4.9"
|
chrono = "0.4.9"
|
||||||
sequoia-openpgp = "0.9.0"
|
sequoia-openpgp = "0.12.0"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
c2-chacha = "0.2.2"
|
c2-chacha = "0.2.2"
|
||||||
sha2 = "0.8.0"
|
sha2 = "0.8.0"
|
||||||
|
14
Dockerfile
14
Dockerfile
@ -1,9 +1,21 @@
|
|||||||
|
FROM rust:1.41.0 as builder
|
||||||
|
|
||||||
|
COPY . /bp
|
||||||
|
|
||||||
|
RUN apt update
|
||||||
|
|
||||||
|
RUN apt install clang nettle-dev -y
|
||||||
|
|
||||||
|
RUN cargo install --path /bp --root /usr
|
||||||
|
|
||||||
FROM debian:buster-slim
|
FROM debian:buster-slim
|
||||||
|
|
||||||
VOLUME /snips
|
VOLUME /snips
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
COPY bin/brownpaper /bin/
|
COPY --from=builder /usr/bin/brownpaper /bin/
|
||||||
|
|
||||||
|
WORKDIR /
|
||||||
|
|
||||||
ENTRYPOINT [ "/bin/brownpaper" ]
|
ENTRYPOINT [ "/bin/brownpaper" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user