Fix: smithery deployment
This commit is contained in:
parent
2bb68155f1
commit
f2c5a97f41
|
@ -7,8 +7,8 @@ WORKDIR /app
|
|||
# Copy package files
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
# Install dependencies without running scripts
|
||||
RUN npm install --ignore-scripts
|
||||
# Install dependencies
|
||||
RUN npm ci
|
||||
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
|
|
@ -7,7 +7,10 @@ startCommand:
|
|||
properties:
|
||||
discordToken:
|
||||
type: string
|
||||
description: The bot token for Discord integration.
|
||||
commandFunction:
|
||||
|-
|
||||
config => ({command: 'node', args: ['./build/index.js', '--transport', 'http', '--port', '8080'], env: {DISCORD_TOKEN: config.discordToken}})
|
||||
description: "The bot token for Discord integration."
|
||||
commandFunction: |
|
||||
config => ({
|
||||
command: 'node',
|
||||
args: ['./build/index.js', '--transport', 'http', '--port', '8080'],
|
||||
env: {DISCORD_TOKEN: config.discordToken}
|
||||
})
|
Loading…
Reference in New Issue