firewall-test/Dockerfile

10 lines
155 B
Docker
Raw Normal View History

2022-11-27 23:39:35 +01:00
FROM golang:alpine as build
WORKDIR /root
COPY . .
RUN go build
FROM alpine
COPY --from=build /root/test /root/test
EXPOSE 5000
ENTRYPOINT ["/root/test"]