summaryrefslogtreecommitdiffstats
path: root/deliveries/Dockerfile.widgetms
blob: c7c42a2940a3b732ed3029fe4fdbece5a861aaf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Large image
# FROM openjdk:8-jdk
# Tiny image; it includes java and nc
FROM frolvlad/alpine-oraclejdk8:slim

# Arguments are supplied by build script;
# the defaults below only support testing
ARG WMS_JAR=build/widget-ms.jar
# Onejar
COPY ${WMS_JAR} /app.jar
RUN sh -c 'touch /app.jar'

# Launch script
COPY start-wms.sh /

# Define default command
CMD /start-wms.sh