summaryrefslogtreecommitdiffstats
path: root/src/main/docker/Dockerfile
blob: 7342a64f3c98d80d19565b71e9e9a2bd6d8a78b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM @aai.docker.namespace@/aai-common-@aai.base.image@:@aai.base.image.version@

ARG MICRO_HOME=/opt/app/data-router
ARG BIN_HOME=$MICRO_HOME/bin

RUN mkdir -p $MICRO_HOME
WORKDIR $MICRO_HOME
COPY /maven/data-router/ .
RUN chmod 755 $BIN_HOME/* \
    && ln -snf /logs $MICRO_HOME/logs

EXPOSE 9502 9502

CMD ["/opt/app/data-router/bin/start.sh"]