RESTfulMC/DiscordBot/Dockerfile
Rainnny7 8b332ab400
Some checks failed
Deploy Discord Bot / docker (17, 3.8.5) (push) Failing after 59s
Make Maven shut up
2024-04-24 19:22:00 -04:00

13 lines
226 B
Docker

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