Fix pom.xml
All checks were successful
Build and push container / Build-Docker-Container (push) Successful in 3m46s
All checks were successful
Build and push container / Build-Docker-Container (push) Successful in 3m46s
This commit is contained in:
parent
1a20f7151f
commit
b718f67586
@ -1,4 +1,4 @@
|
||||
FROM maven:latest as builder
|
||||
FROM maven:latest AS builder
|
||||
|
||||
COPY . /workspace
|
||||
|
||||
@ -27,7 +27,7 @@ VOLUME ["/app/data"]
|
||||
|
||||
WORKDIR /app/data
|
||||
|
||||
EXPOSE 3706
|
||||
EXPOSE 6969
|
||||
|
||||
ENTRYPOINT [ "docker_launcher", "--config", "/app/launcher_config.json", "sudo", "-u", "app" ]
|
||||
CMD [ "java", "-jar", "/app/VideoBase.jar" ]
|
||||
|
41
pom.xml
41
pom.xml
@ -3,8 +3,8 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>me.mrletsplay</groupId>
|
||||
<artifactId>VideoBaseV2</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<artifactId>VideoBase</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<build>
|
||||
<sourceDirectory>src/main/java</sourceDirectory>
|
||||
<plugins>
|
||||
@ -15,6 +15,43 @@
|
||||
<release>11</release>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>2.4.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<filters>
|
||||
<filter>
|
||||
<artifact>*:*</artifact>
|
||||
<excludes>
|
||||
<exclude>META-INF/*.SF</exclude>
|
||||
<exclude>META-INF/*.DSA</exclude>
|
||||
<exclude>META-INF/*.RSA</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
</filters>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>me.mrletsplay.videobase.VideoBase</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
@ -82,8 +82,6 @@ public class VideoBase {
|
||||
|
||||
private static void loadLibrary() {
|
||||
library = Library.load(Path.of(config.getLibraryPath()));
|
||||
|
||||
System.out.println(library.getVideos());
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user