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 {