blob: 23cdb7c38d69ca874fe4850e7c037e225e7a402d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
FROM @aai.docker.namespace@/aai-common-@aai.base.image@:@aai.base.image.version@
ARG MICRO_HOME=/opt/app/sparky
ARG BIN_HOME=$MICRO_HOME/bin
# Build up the deployment folder structure
RUN mkdir -p $MICRO_HOME
WORKDIR $MICRO_HOME
COPY /maven/sparkybe-onap-application/ .
RUN chmod 755 $BIN_HOME/* \
&& ln -snf /logs $MICRO_HOME/logs
EXPOSE 8000 8000
EXPOSE 9517 9517
CMD ["/opt/app/sparky/bin/start.sh"]
|