feat: Dockerize app
This commit is contained in:
1 parent
e742e32832
commit
8ed3ca4ff7
5 files changed
+151
-14
No files matched your search
+3
-2
@@ -1,4 +1,5 @@
|
||||
import adapter from '@sveltejs/adapter-auto';
|
||||
import auto from '@sveltejs/adapter-auto';
|
||||
import node from '@sveltejs/adapter-node';
|
||||
import { vitePreprocess } from '@sveltejs/kit/vite';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
@@ -11,7 +12,7 @@ const config = {
|
||||
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
|
||||
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
|
||||
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
||||
adapter: adapter(),
|
||||
adapter: process.env.ADAPTER == 'node' ? node() : auto(),
|
||||
csp: {
|
||||
directives: {
|
||||
'script-src': ['self'],
|
||||
|
||||
Reference in new issue
Block a user