mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
upgrade node version in serve script.
This commit is contained in:
parent
c40243635f
commit
9104953ad9
@ -16,7 +16,7 @@ if [ ! -d "${PWD}/../client/node_modules" ] || [ "$1" == "-i" ]; then
|
|||||||
-v "${PWD}/../client:/app" \
|
-v "${PWD}/../client:/app" \
|
||||||
--workdir="/app" \
|
--workdir="/app" \
|
||||||
--entrypoint="npm" \
|
--entrypoint="npm" \
|
||||||
node:14-buster-slim install
|
node:18-bullseye-slim install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker run --rm -it \
|
docker run --rm -it \
|
||||||
@ -25,5 +25,5 @@ docker run --rm -it \
|
|||||||
-e "VUE_APP_SERVER_PORT=${SERVER_PORT}" \
|
-e "VUE_APP_SERVER_PORT=${SERVER_PORT}" \
|
||||||
--workdir="/app" \
|
--workdir="/app" \
|
||||||
--entrypoint="npm" \
|
--entrypoint="npm" \
|
||||||
node:14-buster-slim run serve
|
node:18-bullseye-slim run serve
|
||||||
|
|
Loading…
Reference in New Issue
Block a user