Fixing Tool Scan issues
This commit is contained in:
parent
00dae9e426
commit
c37e55d5f5
|
@ -7,8 +7,8 @@ WORKDIR /app
|
||||||
# Copy package files
|
# Copy package files
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies without running scripts
|
||||||
RUN npm ci
|
RUN npm install --ignore-scripts
|
||||||
|
|
||||||
# Copy source code
|
# Copy source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
@ -16,9 +16,6 @@ COPY . .
|
||||||
# Build the TypeScript code
|
# Build the TypeScript code
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Set environment variable for Discord token
|
|
||||||
ENV DISCORD_TOKEN=""
|
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Smithery configuration file: https://smithery.ai/docs/build/project-config/smithery.yaml
|
||||||
|
|
||||||
|
version: 1
|
||||||
startCommand:
|
startCommand:
|
||||||
type: http
|
type: http
|
||||||
configSchema:
|
configSchema:
|
||||||
|
@ -7,4 +10,10 @@ startCommand:
|
||||||
properties:
|
properties:
|
||||||
discordToken:
|
discordToken:
|
||||||
type: string
|
type: string
|
||||||
description: "The bot token for Discord integration."
|
title: "Discord Bot Token"
|
||||||
|
description: "Discord bot token. Obtain this from the Discord Developer Portal."
|
||||||
|
exampleConfig:
|
||||||
|
discordToken: YOUR_DISCORD_BOT_TOKEN
|
||||||
|
|
||||||
|
build:
|
||||||
|
dockerfile: Dockerfile
|
Loading…
Reference in New Issue