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

This commit is contained in:
ben committed 2026-07-09 09:24:10 -07:00
1 parent e0648d4819
commit 2e28e6db05
3 files changed
+26

No files matched your search

+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