From dae68ef258712b925c3f7727740541cce3dad41c Mon Sep 17 00:00:00 2001 From: Pieter Claerhout Date: Thu, 28 May 2020 17:37:33 +0200 Subject: [PATCH] Updated the Dockerfile --- internal/creator/docker_file.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/creator/docker_file.go b/internal/creator/docker_file.go index d1eb353..277a7b0 100644 --- a/internal/creator/docker_file.go +++ b/internal/creator/docker_file.go @@ -36,6 +36,9 @@ FROM scratch COPY --from=builder "/app/build/{{outputPath}}" / +# Needed for a webserver, alter the port to match the required value +EXPOSE 8080 + ENTRYPOINT ["/{{outputPath}}"]` type dockerFile struct {