forked from pinguin45/charon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (24 loc) · 960 Bytes
/
Dockerfile
File metadata and controls
34 lines (24 loc) · 960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
ARG NODE_IMAGE_VERSION
# Create base image
FROM node:${NODE_IMAGE_VERSION}
RUN apk update && apk upgrade && \
apk add --no-cache make g++ git supervisor python2
COPY Docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
WORKDIR /bpmn-studio
ADD 'bpmn-studio.tar.gz' ./
RUN npm install sqlite3 && \
npm prune --production && \
npm link --only=production && \
cd node_modules/@atlas-engine/fullstack_server && \
npm link --only=production
EXPOSE 8000 9000
ENTRYPOINT ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
HEALTHCHECK --interval=5s \
--timeout=5s \
CMD curl -f http://127.0.0.1:9000 && curl -f http://127.0.0.1:8000 || exit 1
ARG BUILD_DATE
ARG BPMN_STUDIO_VERSION
LABEL de.5minds.version=${BPMN_STUDIO_VERSION} \
de.5minds.release-date=${BUILD_DATE} \
vendor="5Minds IT-Solutions GmbH & Co. KG" \
maintainer="5Minds IT-Solutions GmbH & Co. KG"