Go-based webhook generic handler
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.
 
 
 

21 lines
359 B

FROM golang:1.17-buster as go-builder
COPY . /build
WORKDIR /build/
RUN /build/scripts/build.sh
FROM ubuntu
ENV debian_frontend=noninteractive
WORKDIR /app/
RUN apt update
RUN apt install -y ca-certificates
COPY --from=go-builder /build/backend/server /app/server
COPY .env /app/.env
RUN useradd -ms /bin/bash user
USER user
ENTRYPOINT ["/app/server"]