Spaces:
Running
Running
build command
Browse files- Dockerfile +1 -1
- svelte.config.js +3 -1
Dockerfile
CHANGED
@@ -23,4 +23,4 @@ RUN npm run build
|
|
23 |
EXPOSE 3000
|
24 |
|
25 |
# Run the application in production mode
|
26 |
-
CMD ["node", "
|
|
|
23 |
EXPOSE 3000
|
24 |
|
25 |
# Run the application in production mode
|
26 |
+
CMD ["node", "build/index.js"]
|
svelte.config.js
CHANGED
@@ -11,7 +11,9 @@ const config = {
|
|
11 |
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
|
12 |
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
|
13 |
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
14 |
-
adapter: adapter(
|
|
|
|
|
15 |
},
|
16 |
};
|
17 |
|
|
|
11 |
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
|
12 |
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
|
13 |
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
14 |
+
adapter: adapter({
|
15 |
+
out: 'build',
|
16 |
+
}),
|
17 |
},
|
18 |
};
|
19 |
|