diff --git a/DiscordBot/Dockerfile b/DiscordBot/Dockerfile new file mode 100644 index 0000000..eb45665 --- /dev/null +++ b/DiscordBot/Dockerfile @@ -0,0 +1,13 @@ +FROM maven:3.8.5-openjdk-17-slim + +# Set the working directory +WORKDIR /home/container + +# Copy project files +COPY . . + +# Build the app +RUN mvn clean package -q -T4C + +# Start the app +CMD ["java", "-jar", "target/DiscordBot.jar"] \ No newline at end of file