mirror of
https://github.com/cupcakearmy/master-thesis.git
synced 2024-12-22 16:16:30 +00:00
12 lines
196 B
Docker
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
|