Skip to content

Commit

Permalink
Created Dockerfile for standalone activiti modeler for Activiti/Activ…
Browse files Browse the repository at this point in the history
  • Loading branch information
mteodori committed Jan 4, 2019
1 parent 2ad12c8 commit 3abfa42
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
@@ -0,0 +1,9 @@
ARG VERSION=7.0.0.Beta4

FROM activiti/activiti-modeling-app:$VERSION as FRONTEND
FROM activiti/activiti-cloud-modeling:$VERSION

COPY --from=FRONTEND /usr/share/nginx/html /public

ENV SPRING_RESOURCES_STATICLOCATIONS=file:/public

6 changes: 6 additions & 0 deletions README.md
@@ -1 +1,7 @@
# activiti-modeling-standalone

Packaging of frontend and backend for modeling ap as a single docker image.

Build with `./build.sh` then run with `./run.sh` and open a browser at <http://localhost:8080>

SSO target need to be configured in the settings page.
2 changes: 2 additions & 0 deletions build.sh
@@ -0,0 +1,2 @@
#!/bin/bash
docker build -t activiti-modeling-standalone .
2 changes: 2 additions & 0 deletions run.sh
@@ -0,0 +1,2 @@
#!/bin/bash
docker run -p 8080:8080 activiti-modeling-standalone

0 comments on commit 3abfa42

Please sign in to comment.