cannot figure out dockerfile

This commit is contained in:
christian 2024-04-26 01:01:30 +02:00
parent 151c76e076
commit 1b46acc6b9
2 changed files with 3 additions and 3 deletions

View File

@ -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
COPY --from=build .

View File

@ -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} */