Skip to content

Instantly share code, notes, and snippets.

View peshala-prabhapoorna's full-sized avatar

Peshala Prabhapoorna peshala-prabhapoorna

View GitHub Profile
@peshala-prabhapoorna
peshala-prabhapoorna / DockerfileForSvelteKit.md
Last active October 9, 2025 15:34 — forked from aradalvand/DockerfileForSvelteKit.md
Dockerfile and .dockerignore for SvelteKit:

*This Dockerfile is intended for SvelteKit applications that use adapter-node. So, the Dockerfile below assumes that you have already installed and configured the adapter.

Dockerfile:

FROM node:18-alpine AS builder
WORKDIR /app
COPY package*.json .
RUN npm ci
COPY . .
RUN npm run build