Fixing Tool Scan issues
This commit is contained in:
parent
00dae9e426
commit
c37e55d5f5
|
@ -7,8 +7,8 @@ WORKDIR /app
|
|||
# Copy package files
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm ci
|
||||
# Install dependencies without running scripts
|
||||
RUN npm install --ignore-scripts
|
||||
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
@ -16,9 +16,6 @@ COPY . .
|
|||
# Build the TypeScript code
|
||||
RUN npm run build
|
||||
|
||||
# Set environment variable for Discord token
|
||||
ENV DISCORD_TOKEN=""
|
||||
|
||||
# Expose HTTP port
|
||||
EXPOSE 8080
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Smithery configuration file: https://smithery.ai/docs/build/project-config/smithery.yaml
|
||||
|
||||
version: 1
|
||||
startCommand:
|
||||
type: http
|
||||
configSchema:
|
||||
|
@ -7,4 +10,10 @@ startCommand:
|
|||
properties:
|
||||
discordToken:
|
||||
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