Commit d69c9cfd authored by hengwen's avatar hengwen
Browse files

Dockerfile update

parent a5b1727e
Pipeline #96586 failed with stages
in 24 seconds
......@@ -21,13 +21,11 @@
FROM openjdk:8
ENV RMI_VERSION=1.0.1-SNAPSHOT
ENV RMI_JAR=rmi-model-server-${RMI_VERSION}.jar
ENV RMI_JAR=rmi-model-server-1.0.1-SNAPSHOT-jar-with-dependencies.jar
WORKDIR /app
COPY AutopilotAdapter.dll /usr/lib/
COPY AutopilotAdapter.dll ./
COPY rmi-model-server-$RMI_VERSION.jar ./rmi-model-server.jar
COPY $RMI_JAR ./rmi-model-server.jar
CMD exec java -cp rmi-model-server.jar -Djava.rmi.server.codebase=file:rmi-model-server.jar -Djava.rmi.server.hostname=rmi-server rwth.rmi.model.server.RMIServer 10101 /usr/lib/AutopilotAdapter.dll
CMD exec java -cp rmi-model-server.jar -Djava.rmi.server.codebase=file:rmi-model-server.jar -Djava.rmi.server.useLocalHostname=true rwth.rmi.model.server.RMIServer 10101 /usr/lib/AutopilotAdapter.dll
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment