update deploy tools for new front-end

This commit is contained in:
orion 2023-11-11 22:15:43 +03:00
parent 9960dfa86f
commit 01cd06f999
2 changed files with 4 additions and 4 deletions

View File

@ -18,12 +18,12 @@ services:
test:
[
"CMD-SHELL",
"wget -q --spider --proxy=off localhost:1337 || exit 1",
"wget -q --spider --proxy=off localhost:5173 || exit 1",
]
restart: always
ports:
- '1337:1337'
- '1488:1488'
- '5173:5173'
build:
context: ..
env_file:

View File

@ -4,10 +4,10 @@
"description": "Brand new imageboard engine",
"main": "index.js",
"scripts": {
"dev": "nodemon src/index.js & vite",
"dev": "nodemon src/index.js & vite --host",
"build": "vite build",
"preview": "vite preview",
"start": "node src/index.js & vite"
"start": "node src/index.js & vite --host"
},
"repository": {
"type": "git",