Files
vote/Dockerfile.simple
zeekay f2503cc892 feat: Extract zoo.vote from monorepo
- 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
2025-11-02 12:14:17 -08:00

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"]