diff --git a/docker/catalogue/Dockerfile b/docker/catalogue/Dockerfile index 1d60a96a..87360cc7 100644 --- a/docker/catalogue/Dockerfile +++ b/docker/catalogue/Dockerfile @@ -9,6 +9,8 @@ RUN cd /go/src/github.com/microservices-demo/catalogue && gvt restore RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /app/main github.com/microservices-demo/catalogue/cmd/cataloguesvc +WORKDIR / + CMD ["/app/main", "-port=80"] EXPOSE 80