mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
fix serve script.
This commit is contained in:
parent
4b1fbbf836
commit
338c1dc0f9
@ -23,7 +23,7 @@ echo "Using IP address: ${NEKO_HOST}"
|
|||||||
|
|
||||||
# npm run serve
|
# npm run serve
|
||||||
docker run --rm -it \
|
docker run --rm -it \
|
||||||
-p 3001:8080 \
|
-p 3001:3001 \
|
||||||
-e "NEKO_HOST=$NEKO_HOST" \
|
-e "NEKO_HOST=$NEKO_HOST" \
|
||||||
-e "NEKO_PORT=$NEKO_PORT" \
|
-e "NEKO_PORT=$NEKO_PORT" \
|
||||||
-e "VUE_APP_LOG_COLOR=true" \
|
-e "VUE_APP_LOG_COLOR=true" \
|
||||||
@ -31,4 +31,4 @@ docker run --rm -it \
|
|||||||
--volume "${PWD}/../:/app" \
|
--volume "${PWD}/../:/app" \
|
||||||
--entrypoint="npm" \
|
--entrypoint="npm" \
|
||||||
--workdir="/app" \
|
--workdir="/app" \
|
||||||
node:18-buster-slim run serve
|
node:18-buster-slim run dev -- --port 3001 --host
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -4330,7 +4330,7 @@
|
|||||||
"version": "5.4.2",
|
"version": "5.4.2",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.2.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.2.tgz",
|
||||||
"integrity": "sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==",
|
"integrity": "sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==",
|
||||||
"dev": true,
|
"devOptional": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"tsc": "bin/tsc",
|
"tsc": "bin/tsc",
|
||||||
"tsserver": "bin/tsserver"
|
"tsserver": "bin/tsserver"
|
||||||
|
Loading…
Reference in New Issue
Block a user