Merge pull request #51 from brainchild0/docker

improve docker image
This commit is contained in:
Tyler Akins 2022-01-26 10:00:28 -06:00 committed by GitHub
commit b31a97cfb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,7 @@
FROM alpine:3.13.4 FROM alpine
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"]