diff --git a/integration_tests/Dockerfile-Integration-Test b/integration_tests/Dockerfile-Integration-Test index 23ad9979..aa1c072a 100644 --- a/integration_tests/Dockerfile-Integration-Test +++ b/integration_tests/Dockerfile-Integration-Test @@ -4,6 +4,10 @@ RUN apk add --no-cache git make build-base ADD . . RUN make build +FROM alpine + +COPY --from=go_builder /go/src/github.com/openflagr/flagr/flagr /bin/flagr + ENV HOST=0.0.0.0 ENV PORT=18000 ENV FLAGR_DB_DBDRIVER=sqlite3 @@ -11,4 +15,5 @@ ENV FLAGR_RECORDER_ENABLED=false RUN addgroup -S appgroup && adduser -S appuser -G appgroup USER appuser EXPOSE 18000 -CMD ./flagr + +ENTRYPOINT [ "/bin/flagr" ] \ No newline at end of file