cannot figure out dockerfile
This commit is contained in:
parent
151c76e076
commit
1b46acc6b9
@ -1,4 +1,4 @@
|
|||||||
FROM node:12 AS build
|
FROM node:21 AS build
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@ -9,4 +9,4 @@ COPY . ./
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM nginx:1.19-alpine
|
FROM nginx:1.19-alpine
|
||||||
COPY --from=build /app/public /usr/share/nginx/html
|
COPY --from=build .
|
@ -1,4 +1,4 @@
|
|||||||
import adapter from '@sveltejs/adapter-auto';
|
import adapter from '@sveltejs/adapter-node';
|
||||||
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
||||||
|
|
||||||
/** @type {import('@sveltejs/kit').Config} */
|
/** @type {import('@sveltejs/kit').Config} */
|
||||||
|
Loading…
Reference in New Issue
Block a user