diff --git a/Dockerfile b/Dockerfile index 5ec9285..fc24076 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:12 AS build +FROM node:21 AS build WORKDIR /app @@ -9,4 +9,4 @@ COPY . ./ RUN npm run build FROM nginx:1.19-alpine -COPY --from=build /app/public /usr/share/nginx/html \ No newline at end of file +COPY --from=build . \ No newline at end of file diff --git a/svelte.config.js b/svelte.config.js index 2bb82b6..29a8240 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,4 +1,4 @@ -import adapter from '@sveltejs/adapter-auto'; +import adapter from '@sveltejs/adapter-node'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; /** @type {import('@sveltejs/kit').Config} */