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: 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:

View 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",