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
# Set the DISCORD_BOT_TOKEN environment variable
ENV TOKEN=${DISCORD_TOKEN}
ENV BOTPREFIX="!"
ENV ChannelID=${ChannelID}
ENV OPENAI_API_KEY=${OPENAI_API_KEY}
ENV TOKEN=${token}
ENV BOTPREFIX=${botprefix}
ENV ChannelID=${channelid}
ENV OPENAI_API_KEY=${openai_api_key}
# Run the bot binary
CMD ["./bot"]