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
COPY ./mo .
RUN apk add --update bash && \
chmod +x mo &&\
mv mo /usr/local/bin/mo && \
rm -rf /var/cache/apk/*
RUN apk add --no-cache bash
ADD mo /usr/local/bin/mo
RUN chmod +x /usr/local/bin/mo
WORKDIR /opt
ENTRYPOINT ["/usr/local/bin/mo"]
ENTRYPOINT usr/local/bin/mo