FROM adoptopenjdk:8-jdk-hotspot # Install ClamAV #RUN apt-get update && apt-get install -y clamav clamav-daemon && freshclam # Start ClamAV daemon #RUN systemctl start clamav-daemon # Enable ClamAV daemon to run at boot #RUN systemctl enable clamav-daemon # Set the working directory WORKDIR /app # Copy the JAR file COPY target/verification-0.0.1-SNAPSHOT.jar verification-0.0.1-SNAPSHOT.jar # Expose the port your application listens on EXPOSE 19945 # Define the entry point command ENTRYPOINT ["java", "-jar", "verification-0.0.1-SNAPSHOT.jar"]