Skip to content

Commit

Permalink
docker環境じゃないところでpackage-lock.jsonを作ってしまっていたのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
faithandbrave committed Nov 6, 2022
1 parent 1d18422 commit 612123a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 14,130 deletions.
2 changes: 2 additions & 0 deletions docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ function show_help() {
echo "$0 install"
echo "$0 run dev"
echo "$0 run build"
echo "$0 ci"
}

if [ $# -lt 1 ]; then
Expand Down Expand Up @@ -34,6 +35,7 @@ case "$1" in
exit 1
fi
docker run $DOCKER_RM -v `pwd`:/var/src -p 8080:8080 $DOCKER_IT kunai:0.0.0-alpine npm run $2 ;;
"ci" ) docker run $DOCKER_RM -v `pwd`:/var/src $DOCKER_IT kunai:0.0.0-alpine npm ci ;;
* )
show_help
exit 1 ;;
Expand Down
Loading

0 comments on commit 612123a

Please sign in to comment.