update docker file

This commit is contained in:
2023-03-29 16:45:14 -05:00
parent 5f33c0dd6a
commit 03daa7ab4f

View File

@@ -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"]