Files
lettersoup-online/002_source/cms/scripts/docker/entrypoint.sh

32 lines
347 B
Bash
Executable File

#!/usr/bin/env bash
# set -x
# nvm use 20
# pnpm run build
pnpm i
pnpm run build
while true; do
pnpm run start
sleep 3
done
# pnpm i -D
# pnpm run start
# while true; do
# if [ "$NODE_ENV" = "development" ]; then
# # sleep infinity
# npm run dev
# else
# npm run build
# npm run start
# fi
# done