summaryrefslogtreecommitdiffstats
path: root/sms-service/bin/smsdockerfile
blob: afd952acc4616c2aa9d92b4b0860afe93b140cf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM alpine:3.7

LABEL name="aaf-sms"
LABEL version=4.0.0
LABEL maintainer="vamshi krishna <vn00480215@techmahindra.com>"

EXPOSE 10443

RUN mkdir -p /sms/auth
ADD aaf_root_ca.cer /sms/certs/aaf_root_ca.cer
ADD aaf-sms.pub /sms/certs/aaf-sms.pub
ADD aaf-sms.pr /sms/certs/aaf-sms.pr
ADD sms /sms/bin/sms
RUN chmod +x /sms/bin/sms
ADD preload /sms/bin/preload
RUN chmod +x /sms/bin/preload

WORKDIR /sms
ENTRYPOINT ["/sms/bin/sms"]