mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 12:22:36 +01:00
Merge branch 'ms4/dev' into 'ms4/dev'
Update Dockerfile with updated artifactId See merge request morningstar/Arcturus-Community!12
This commit is contained in:
commit
f6dddbdde6
@ -3,16 +3,16 @@ FROM maven:latest AS builder
|
|||||||
# Copy the Emulator sources to the container
|
# Copy the Emulator sources to the container
|
||||||
COPY . .
|
COPY . .
|
||||||
# Package it
|
# Package it
|
||||||
RUN mvn package && mv /target/Habbo*-with-dependencies.jar /target/Habbo.jar
|
RUN mvn package && mv /target/Morningstar*-with-dependencies.jar /target/Morningstar.jar
|
||||||
|
|
||||||
# Use openjdk 11 for running
|
# Use openjdk 11 for running
|
||||||
FROM openjdk:11 AS runner
|
FROM openjdk:11 AS runner
|
||||||
|
|
||||||
# Copy the generated source
|
# Copy the generated source
|
||||||
COPY --from=builder /target/Habbo.jar /
|
COPY --from=builder /target/Morningstar.jar /
|
||||||
|
|
||||||
# Save the script to wait for the database, among running the Arcturus Emulator
|
# Save the script to wait for the database, among running the Arcturus Emulator
|
||||||
RUN echo "#!/bin/bash \n java -Dfile.encoding=UTF-8 -jar /Habbo.jar" > /entrypoint.sh
|
RUN echo "#!/bin/bash \n java -Dfile.encoding=UTF-8 -jar /Morningstar.jar" > /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
||||||
# Run the Emulator with Java
|
# Run the Emulator with Java
|
||||||
|
Loading…
x
Reference in New Issue
Block a user