enzostvs HF staff commited on
Commit
d10cc86
·
1 Parent(s): e26db84

build command

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. 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", ".svelte-kit/index.js"]
 
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