You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
themis/Dockerfile

9 lines
281 B

FROM golang:1.19 as builder
WORKDIR /app
COPY . .
RUN go build -o ./bin ./cmd/...
FROM ubuntu:22.04
COPY --from=builder /app/bin/themis-server /usr/local/bin/themis-server
RUN apt update -y; apt install -y ca-certificates; apt-get clean
ENTRYPOINT ["themis-server", "-db=prod.db"]