feat: Dockerize app

This commit is contained in:
Xyphyn committed 2023-07-22 12:50:03 -07:00
1 parent e742e32832
commit 8ed3ca4ff7
5 files changed
+151 -14

No files matched your search

+3 -2
View File
@@ -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'],