e6956aa001
- React frontend with route-level code splitting - Backend rebranded from Baihu to TaskPool - DB brand migration script and local compatibility
12 lines
276 B
Docker
12 lines
276 B
Docker
# Production stage - only needs nginx and built files
|
|
FROM nginx:alpine
|
|
|
|
# Copy built files (from CI artifact or local build)
|
|
COPY web/dist /usr/share/nginx/html
|
|
|
|
# Copy nginx config
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["nginx", "-g", "daemon off;"] |