master-thesis/code/images/sidecar/Dockerfile
2023-05-11 17:44:13 +02:00

12 lines
196 B
Docker

FROM golang:1.20 as builder
WORKDIR /app
COPY . .
RUN go build
FROM ubuntu
RUN apt-get update && apt-get install -y dnsutils
WORKDIR /app
COPY --from=builder /app .
EXPOSE 42069
CMD /app/sidecar