update deploy tools for new front-end
This commit is contained in:
parent
9960dfa86f
commit
01cd06f999
|
@ -18,12 +18,12 @@ services:
|
||||||
test:
|
test:
|
||||||
[
|
[
|
||||||
"CMD-SHELL",
|
"CMD-SHELL",
|
||||||
"wget -q --spider --proxy=off localhost:1337 || exit 1",
|
"wget -q --spider --proxy=off localhost:5173 || exit 1",
|
||||||
]
|
]
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- '1337:1337'
|
- '1337:1337'
|
||||||
- '1488:1488'
|
- '5173:5173'
|
||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
env_file:
|
env_file:
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
"description": "Brand new imageboard engine",
|
"description": "Brand new imageboard engine",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "nodemon src/index.js & vite",
|
"dev": "nodemon src/index.js & vite --host",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"start": "node src/index.js & vite"
|
"start": "node src/index.js & vite --host"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in New Issue