``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:
@@ -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"]
|
||||
|
Reference in New Issue
Block a user