blob: 19f44d90b95ac4683c8a9edbeebf800900c70cce [file] [log] [blame]
FROM alpine:3.7
LABEL name="aaf-sms"
LABEL version=4.0.0
LABEL maintainer="vamshi krishna <vn00480215@techmahindra.com>"
EXPOSE 10443
RUN addgroup aaf && adduser -H -D -g "" -G aaf aaf && \
mkdir -p /sms/auth && \
mkdir -p /sms/certs && \
chown -R aaf:aaf /sms
ADD sms /sms/bin/sms
RUN chmod +x /sms/bin/sms
ADD preload /sms/bin/preload
RUN chmod +x /sms/bin/preload
USER aaf
WORKDIR /sms
ENTRYPOINT ["/sms/bin/sms"]