``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

@@ -4,11 +4,14 @@ 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 && pnpm i
RUN cd /app && pnpm run build
# Set working directory
WORKDIR /app
# Copy your application code (optional, comment out if not needed)
# COPY . .
# Default command (optional)
CMD ["node"]
CMD ["./scripts/docker/entrypoint.sh"]