diff --git a/Dockerfile b/Dockerfile index 3150b40..1e1295c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,8 @@ RUN if [ $enable_mecab -ne 0 ]; then apt-get update \ && ./bin/install-mecab-ipadic-neologd -n -y \ && rm -rf /opt/mecab-ipadic-neologd \ && echo "dicdir = /usr/lib/x86_64-linux-gnu/mecab/dic/mecab-ipadic-neologd/" > /etc/mecabrc \ - && apt-get purge git make curl xz-utils file -y; fi + && apt-get purge git make curl xz-utils file -y \ + && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* /root/.gnupg /tmp/library-scripts; fi COPY . /ai