forked from HBPMedical/woken
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (23 loc) · 1.02 KB
/
Dockerfile
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
# Verified with http://hadolint.lukasmartinelli.ch/
FROM java:openjdk-8u92-jdk-alpine
MAINTAINER [email protected]
COPY docker/runner/woken.sh /opt/woken/
RUN chmod +x /opt/woken/woken.sh && \
ln -s /opt/woken/woken.sh /run.sh
# org.label-schema.build-date=$BUILD_DATE
# org.label-schema.vcs-ref=$VCS_REF
LABEL org.label-schema.schema-version="1.0" \
org.label-schema.license="Apache 2.0" \
org.label-schema.name="woken" \
org.label-schema.description="An orchestration platform for Docker containers running data mining algorithms" \
org.label-schema.url="https://github.com/LREN-CHUV/woken" \
org.label-schema.vcs-type="git" \
org.label-schema.vcs-url="https://github.com/LREN-CHUV/woken" \
org.label-schema.vendor="LREN CHUV" \
org.label-schema.version="githash" \
org.label-schema.docker.dockerfile="Dockerfile" \
org.label-schema.memory-hint="2048"
COPY target/scala-2.11/woken.jar /opt/woken/woken.jar
EXPOSE 8087
EXPOSE 8088
CMD ["/run.sh"]