Created
March 21, 2021 06:12
-
-
Save tomill/1c942bd4e4307b343011657162d9c54e to your computer and use it in GitHub Desktop.
koneta cpanfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM perl:5.32-buster | |
ENV PERL_TEXT_MECAB_ENCODING=utf8 | |
RUN apt update && apt install mecab libmecab-dev mecab-ipadic-utf8 -y | |
WORKDIR /usr | |
COPY cpanfile /usr | |
RUN cpanm Carton | |
RUN carton install | |
ENV TZ="Asia/Tokyo" | |
ENV PERL5LIB="/usr/local/lib/perl5" | |
WORKDIR /app | |
CMD ["perl"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://e8y.net/2021/03/21/write-once-run-any___/