This commit is contained in:
2023-11-05 15:04:16 +03:00
parent de0452eb71
commit ebb89a1865
4 changed files with 7 additions and 3 deletions

4
back/media/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

View File

@@ -29,7 +29,7 @@ services:
working_dir: /code
volumes:
- ./front:/code
command: bash -c "npm install && npm run build && BODY_SIZE_LIMIT=200000000 PORT=5173 node build"
command: bash -c "npm isntall && npm run dev -- --host 0.0.0.0"
ports:
- "127.0.0.1:5173:5173"
networks:

View File

@@ -8,7 +8,7 @@
"preview": "vite preview"
},
"devDependencies": {
"@sveltejs/adapter-node": "^1.3.1",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.5.0",
"svelte": "^3.54.0",
"vite": "^4.0.0"

View File

@@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-node';
import adapter from '@sveltejs/adapter-auto';
/** @type {import('@sveltejs/kit').Config} */
const config = {