Add Dockerfile, .dockerignore, and captain-definition for container setup

This commit is contained in:
ben
2026-07-09 09:24:10 -07:00
parent e0648d4819
commit 2e28e6db05
3 changed files with 26 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
node_modules
.svelte-kit
build
.git
.env
.env.*
npm-debug.log*
+15
View File
@@ -0,0 +1,15 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM nginx:1.27-alpine
COPY --from=build /app/build /usr/share/nginx/html
EXPOSE 80
+4
View File
@@ -0,0 +1,4 @@
{
"schemaVersion": 2,
"dockerfilePath": "./Dockerfile"
}