Dockerfile 454 Bytes
Newer Older
1 2 3 4
# image to create a standalone ui-designer
# to build, use `docker build -t bonita/ui-designer .`
# to run on random port, use `docker run -p 8080 bonita/ui-designer`
# to run on a fixed port, 8000 for example, use `docker run -p 8000:8080 bonita/ui-designer`
5
FROM openjdk:8-jre-alpine
6
EXPOSE 8080
7
WORKDIR /data
8
ADD ./backend/webapp/target/ui-designer-1.8-SNAPSHOT-standalone.jar /data/ui-designer-standalone.jar
9
CMD java -jar ui-designer-standalone.jar