Introduce general improvements for Docker image

This commit is contained in:
Eric Levy 2022-01-24 20:50:14 -05:00
parent 54195a6c6e
commit 14003ba24a

View File

@ -1,11 +1,7 @@
FROM alpine:3.13.4 FROM alpine:3.13.4
COPY ./mo . RUN apk add --no-cache bash
RUN apk add --update bash && \ ADD mo /usr/local/bin/mo
chmod +x mo &&\ RUN chmod +x /usr/local/bin/mo
mv mo /usr/local/bin/mo && \
rm -rf /var/cache/apk/*
WORKDIR /opt ENTRYPOINT usr/local/bin/mo
ENTRYPOINT ["/usr/local/bin/mo"]