mirror of
https://github.com/zoo-apps/vote.git
synced 2026-10-30 14:56:32 +00:00
- Full app extraction from zoo monorepo (source only) - Configured for GitHub Pages deployment - Static export enabled - Custom domain: vote.zoo.ngo - Excludes node_modules and build artifacts
16 lines
286 B
Docker
16 lines
286 B
Docker
# Simple Dockerfile for pre-built frontend
|
|
FROM node:20-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
# Install serve to run the built app
|
|
RUN npm install -g serve
|
|
|
|
# Copy pre-built dist folder
|
|
COPY dist ./dist
|
|
|
|
# Expose port
|
|
EXPOSE 3000
|
|
|
|
# Serve the built application
|
|
CMD ["serve", "-s", "dist", "-l", "3000"] |