mirror of
https://github.com/cupcakearmy/master-thesis.git
synced 2024-11-16 18:10:50 +01: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
|