``update Add Docker build and deployment workflow for CMS and Ionic Mobile, update docker-compose.yml with new service images, and enhance documentation with strategy diagram and endpoint table``

This commit is contained in:
2025-05-24 08:21:33 +08:00
parent 1157bf0fda
commit cb8643b405
16 changed files with 462 additions and 85 deletions

View File

@@ -1,5 +1,17 @@
FROM 192.168.10.61:5000/nvm_ubuntu:latest
# Use official Node 18 base image
FROM node:22-slim
# Install pnpm globally
RUN npm install -g pnpm
# Copy your application code (optional, comment out if not needed)
COPY . /app
RUN cd /app && npm i
RUN cd /app && npm run build
# Set working directory
WORKDIR /app
RUN nvm install 22
# Default command (optional)
CMD ["./scripts/docker/entrypoint.sh"]