Skip to content

Commit

Permalink
Review comment: Changing Integration test dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sks committed Nov 3, 2023
1 parent 4908974 commit 7d7d483
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion integration_tests/Dockerfile-Integration-Test
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ 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
ENV FLAGR_RECORDER_ENABLED=false
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
USER appuser
EXPOSE 18000
CMD ./flagr

ENTRYPOINT [ "/bin/flagr" ]

0 comments on commit 7d7d483

Please sign in to comment.