master-thesis/code/images/sidecar/Dockerfile

12 lines
196 B
Docker
Raw Permalink Normal View History

2023-05-11 15:44:13 +00:00
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