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