Thanks for your comment, edwinksl. I updated my dockerfile below which solved the locale-gen error:
FROM node:4-onbuild
# Set the locale
RUN apt-get clean && apt-get update && apt-get install -y locales
RUN locale-gen en_US.UTF-8
Thanks for your comment, edwinksl. I updated my dockerfile below which solved the locale-gen error:
FROM node:4-onbuild
# Set the locale
RUN apt-get clean && apt-get update && apt-get install -y locales
RUN locale-gen en_US.UTF-8