Merge "Portal Spring Boot Development"
[portal.git] / deliveries / Dockerfile.widgetms
index 16bf60b..49c899e 100644 (file)
@@ -1,18 +1,17 @@
 # Large image
 # FROM openjdk:8-jdk
-# Very small image
-FROM frolvlad/alpine-oraclejdk8:slim
+# Tiny image; it includes java and nc
+FROM openjdk:8-alpine
 
 # Arguments are supplied by build script;
 # the defaults below only support testing
 ARG WMS_JAR=build/widget-ms.jar
-# Launch script
-COPY start-wms-cmd.sh /
-# Wait script, which depends on nc
-COPY wait-for.sh /
 # Onejar
 COPY ${WMS_JAR} /app.jar
 RUN sh -c 'touch /app.jar'
-VOLUME /tmp
-ENV JAVA_OPTS=""
-CMD /start-wms-cmd.sh
+
+# Launch script
+COPY start-wms.sh /
+
+# Define default command
+CMD /start-wms.sh