ci: add Dockerfile

This commit is contained in:
Alexa Amundson
2026-03-09 06:55:06 -05:00
parent bc9f92f8c5
commit 5b667d95dd

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --production
COPY . .
RUN npm run build --if-present
FROM node:20-alpine
WORKDIR /app
COPY --from=builder /app .
EXPOSE 3000
CMD ["node", "src/index.js"]