diff --git a/Dockerfile b/Dockerfile index c4ba403ad56da9aaec0233a3b172747849bd8006..08dd3304d59ff07fe4c21559d394ca69f46c4c96 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,8 @@ ENTRYPOINT (cd $APP_DIR && ./src/cve-manager) ADD . $APP_DIR # Compile the binary and statically link -RUN cd $APP_DIR && CGO_ENABLED=0 godep go build -ldflags '-d -w -s' +#RUN cd $APP_DIR && CGO_ENABLED=0 godep go build -ldflags '-d -w -s' +RUN cd $APP_DIR && CGO_ENABLED=1 go build -v -o ./src/cve-manager main.go EXPOSE 80 diff --git a/conf/product_app.conf b/conf/product_app.conf index b87c6974742fde808bc404bfd66e4efed57bde4e..24ed4d23ea8dd7fbcebd5a2b8364a22979ddba41 100644 --- a/conf/product_app.conf +++ b/conf/product_app.conf @@ -1,4 +1,4 @@ -appname = cve_manager +appname = cve-manager httpport = 8080 runmode = dev autorender = false