Made the right Dockerfile for Svelte (had to add a Node adapter also)

This commit is contained in:
2024-08-02 21:12:22 +03:00
parent ded3b78c58
commit 55c080f80d
5 changed files with 3520 additions and 8 deletions

View File

@@ -1,13 +1,7 @@
import adapter from '@sveltejs/adapter-auto';
import adapter from '@sveltejs/adapter-node';
/** @type {import('@sveltejs/kit').Config} */
const config = {
export default {
kit: {
// 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()
}
};
export default config;