LasTres/docker/entrypoint.sh

16 lines
426 B
Bash
Executable File

#!/bin/bash
cd /var/lib/las_tres/LasTres
npm install
npx webpack
if ! grep PERL5LIB ~/.profile; then
perl -Mlocal::lib 2>/dev/null >> ~/.profile ;
fi && \
source ~/.profile && \
rm -fr ~/.cpan && \
( echo y && echo reload cpan && echo o conf commit ) | perl -MCPAN -Mlocal::lib -e shell && \
perl Build.PL && \
./Build installdeps && \
npx webpack && \
bash build_styles.sh && \
perl -MCarp::Always script/las_tres daemon