mirror of
https://gitlab.durp.info/durfy/apps/durpot.git
synced 2026-05-07 07:50:32 -05:00
update docker file
This commit is contained in:
parent
5f33c0dd6a
commit
03daa7ab4f
1 changed files with 4 additions and 4 deletions
|
|
@ -10,10 +10,10 @@ COPY . .
|
||||||
RUN go build -o bot
|
RUN go build -o bot
|
||||||
|
|
||||||
# Set the DISCORD_BOT_TOKEN environment variable
|
# Set the DISCORD_BOT_TOKEN environment variable
|
||||||
ENV TOKEN=${DISCORD_TOKEN}
|
ENV TOKEN=${token}
|
||||||
ENV BOTPREFIX="!"
|
ENV BOTPREFIX=${botprefix}
|
||||||
ENV ChannelID=${ChannelID}
|
ENV ChannelID=${channelid}
|
||||||
ENV OPENAI_API_KEY=${OPENAI_API_KEY}
|
ENV OPENAI_API_KEY=${openai_api_key}
|
||||||
|
|
||||||
# Run the bot binary
|
# Run the bot binary
|
||||||
CMD ["./bot"]
|
CMD ["./bot"]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue