Skip to content

Instantly share code, notes, and snippets.

@tomill
Created March 21, 2021 06:12
Show Gist options
  • Save tomill/1c942bd4e4307b343011657162d9c54e to your computer and use it in GitHub Desktop.
Save tomill/1c942bd4e4307b343011657162d9c54e to your computer and use it in GitHub Desktop.
koneta cpanfile
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"]
@tomill
Copy link
Author

tomill commented Mar 21, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment