parent
d74051d5a8
commit
a061942739
@ -1,4 +1,4 @@
|
||||
FROM eclipse-temurin:17-alpine
|
||||
COPY /target/mirror-0.1.war /usr/local/lib/mirror-0.1.war
|
||||
EXPOSE 8090
|
||||
ENTRYPOINT ["java","-jar","/usr/local/lib/mirror-0.1.war"]
|
||||
COPY /target/mirror-0.1.jar /usr/local/lib/mirror-0.1.jar
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["java","-jar","/usr/local/lib/mirror-0.1.jar"]
|
||||
|
@ -0,0 +1,13 @@
|
||||
package com.olexyn.misp.mirror;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableAspectJAutoProxy(proxyTargetClass = true)
|
||||
public class App {
|
||||
public static void main(String... args) {
|
||||
SpringApplication.run(App.class, args);
|
||||
}
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
<!DOCTYPE web-app PUBLIC
|
||||
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
|
||||
"http://java.sun.com/dtd/web-app_2_3.dtd" >
|
||||
|
||||
|
||||
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
|
||||
version="2.4">
|
||||
|
||||
<display-name>misp-mirror</display-name>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>misp-mirror</servlet-name>
|
||||
<servlet-class>com.olexyn.misp.mirror.Mirror</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>misp-mirror</servlet-name>
|
||||
<url-pattern>/mirror</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
</web-app>
|
Before Width: | Height: | Size: 617 B |
@ -1,20 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>misp-mirror</title>
|
||||
</head>
|
||||
<body bgcolor=white>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td align=center>
|
||||
<img src="images/io42630.png">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<h1>misp-mirror</h1>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue