mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
update yarn, node, openjdk, add missing phase args
Signed-off-by: MiniDigger <admin@minidigger.me>
This commit is contained in:
parent
a7517f5cfd
commit
c5993ada30
@ -1,4 +1,4 @@
|
||||
FROM openjdk:14-jdk-alpine
|
||||
FROM openjdk:16-jdk-alpine
|
||||
|
||||
LABEL maintainer="Yannick Lamprecht <yannicklamprecht@live.de>"
|
||||
|
||||
@ -9,4 +9,4 @@ ENV TERM xterm-256color
|
||||
|
||||
EXPOSE 8080
|
||||
# "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005" is for debug only
|
||||
ENTRYPOINT ["java", "-XX:+ShowCodeDetailsInExceptionMessages", "-jar", "app.jar"]
|
||||
ENTRYPOINT ["java", "-XX:+ShowCodeDetailsInExceptionMessages", "-jar", "app.jar"]
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM openjdk:14-jdk-alpine
|
||||
FROM openjdk:16-jdk-alpine
|
||||
|
||||
LABEL maintainer="Yannick Lamprecht <yannicklamprecht@live.de>"
|
||||
|
||||
|
6
pom.xml
6
pom.xml
@ -251,8 +251,8 @@
|
||||
|
||||
<configuration>
|
||||
<workingDirectory>src/main/frontend</workingDirectory>
|
||||
<nodeVersion>v12.18.2</nodeVersion>
|
||||
<yarnVersion>v1.22.0</yarnVersion>
|
||||
<nodeVersion>v12.18.4</nodeVersion> <!-- latest LTS -->
|
||||
<yarnVersion>v1.22.5</yarnVersion> <!-- latest stable -->
|
||||
</configuration>
|
||||
|
||||
<executions>
|
||||
@ -271,6 +271,7 @@
|
||||
<configuration>
|
||||
<arguments>install</arguments>
|
||||
</configuration>
|
||||
<phase>generate-resources</phase>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>yarn build</id>
|
||||
@ -280,6 +281,7 @@
|
||||
<configuration>
|
||||
<arguments>run build</arguments>
|
||||
</configuration>
|
||||
<phase>generate-resources</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
Loading…
Reference in New Issue
Block a user