diff --git a/Dockerfile b/Dockerfile index 5a62ecf..244efd5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,7 @@ -FROM alpine:3.13.4 +FROM alpine -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"] \ No newline at end of file +ENTRYPOINT usr/local/bin/mo