Add Dockerfile for production build with HTTP server

This commit is contained in:
MayaTheShy
2026-03-21 16:42:10 -04:00
parent e01a605bb0
commit 8f0072dedf

18
web/client/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
# Production build with simple HTTP server
FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
RUN npm install -g serve
EXPOSE 3000
CMD ["serve", "-s", "dist", "-l", "3000"]