Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM golang:1.22.5-bookworm AS BUILD

RUN mkdir /app
WORKDIR /app
COPY . .
WORKDIR /app/src
RUN go mod download
WORKDIR /app
RUN make -f Makefile.ce build

FROM debian:bookworm-slim AS RUNTIME
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY --from=BUILD /app/out/bin/zep /app/
# Ship with default config that can be overridden by ENV vars
COPY zep.yaml /app/

EXPOSE 8000
ENTRYPOINT ["/app/zep"]