Skip to content

Commit

Permalink
Merge pull request #11 from atrifat/update-build-dependency
Browse files Browse the repository at this point in the history
build: update nostr-monitoring-tool dependency
  • Loading branch information
atrifat authored Nov 22, 2023
2 parents 9f24355 + 085767c commit 15c3f0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUN git clone --branch $NOSTR_FILTER_BRANCH https://github.com/atrifat/nostr-fil
npm ci --omit=dev && npx tsc

# Prepare nostr-monitoring-tool
ENV NOSTR_MONITORING_TOOL_VERSION=v0.4.0
ENV NOSTR_MONITORING_TOOL_VERSION=v0.4.1
RUN git clone --depth 1 --branch $NOSTR_MONITORING_TOOL_VERSION https://github.com/atrifat/nostr-monitoring-tool && \
cd /builder/nostr-monitoring-tool && \
npm ci --omit=dev
Expand Down Expand Up @@ -86,6 +86,7 @@ ENV LISTEN_PORT=7860
ENV ENABLE_FORWARD_REQ_HEADERS=false
# (Default: sfw, Options: all, sfw, partialsfw, and nsfw) Filter hate speech (toxic comment).
ENV DEFAULT_FILTER_CONTENT_MODE=sfw
# (Optional. Default: 75, Options: 0-100) Default minimum probability/confidence score to determine the classification of nsfw content
ENV DEFAULT_FILTER_NSFW_CONFIDENCE=75
# (Default: all, Multiple Options: all, or other language code)
ENV DEFAULT_FILTER_LANGUAGE_MODE=all
Expand Down

0 comments on commit 15c3f0b

Please sign in to comment.