~vpzom/hitide

ref: 7115b96d95181b352d09b803ca2b0138005ba28e hitide/Dockerfile -rw-r--r-- 463 bytes
7115b96dColin Reeder Add French translation from https://dev.narwhal.city/comments/80 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM rust:1.45-slim-buster AS builder
RUN apt-get update \
	&& apt-get install -y libssl-dev pkg-config \
	&& rm -rf /var/lib/apt/lists/*
WORKDIR /usr/src/hitide
COPY Cargo.* ./
COPY src ./src
COPY res ./res
COPY icons ./icons
RUN cargo build --release

FROM debian:buster-slim
RUN apt-get update \
	&& apt-get install -y openssl ca-certificates \
	&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/src/hitide/target/release/hitide /usr/bin/
CMD ["hitide"]