This Dockerfile is intended for SvelteKit applications that use adapter-node. So, the Dockerfile below assumes that you have installed and configured adapter-node.
FROM node:18-alpine AS builder
WORKDIR /app
COPY package*.json .
RUN npm ci
COPY . .
RUN npm run build