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

ARG MICRO_HOME=/opt/app/model-loader

# Build up the deployment folder structure
RUN mkdir -p $MICRO_HOME
WORKDIR $MICRO_HOME
COPY /maven/model-loader/ .
RUN chmod 755 bin/* \
    && ln -s /logs $MICRO_HOME/logs

CMD ["/opt/app/model-loader/bin/start.sh"]