Dockerfileしゅうせい

This commit is contained in:
NullCat 2023-01-29 19:50:58 +09:00
parent a94edc94c1
commit 7a8b11c9f1

View File

@ -16,9 +16,9 @@ RUN if [ $enable_mecab -ne 0 ]; then apt-get update \
&& 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
COPY . /ai
COPY . /nullcatchan
WORKDIR /ai
WORKDIR /nullcatchan
RUN npm install && npm run build
ENTRYPOINT ["/usr/bin/tini", "--"]