@hed-hog/cli 0.0.48 → 0.0.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hed-hog/cli",
3
- "version": "0.0.48",
3
+ "version": "0.0.50",
4
4
  "description": "HedHog CLI tool",
5
5
  "author": "HedHog",
6
6
  "private": false,
@@ -1,14 +0,0 @@
1
- # Example Dockerfile for Admin application (Next.js/React) # Build stage FROM
2
- node:18-alpine AS builder WORKDIR /app # Copy package files COPY package.json
3
- pnpm-lock.yaml ./ COPY apps/admin/package.json ./apps/admin/ # Install
4
- dependencies RUN npm install -g pnpm RUN pnpm install --frozen-lockfile # Copy
5
- source code COPY . . # Build the application RUN pnpm --filter admin build #
6
- Production stage FROM node:18-alpine WORKDIR /app # Install serve for static
7
- hosting (if using static export) # or install production dependencies for
8
- Next.js standalone RUN npm install -g pnpm # Copy built application COPY
9
- --from=builder /app/apps/admin/.next ./apps/admin/.next COPY --from=builder
10
- /app/apps/admin/public ./apps/admin/public COPY --from=builder
11
- /app/apps/admin/package.json ./apps/admin/ COPY --from=builder
12
- /app/apps/admin/node_modules ./apps/admin/node_modules # Set environment ENV
13
- NODE_ENV=production ENV PORT=80 EXPOSE 80 WORKDIR /app/apps/admin # Start the
14
- application CMD ["pnpm", "start"]
@@ -1,12 +0,0 @@
1
- # Example Dockerfile for API application # Build stage FROM node:18-alpine AS
2
- builder WORKDIR /app # Copy package files COPY package.json pnpm-lock.yaml ./
3
- COPY apps/api/package.json ./apps/api/ # Install dependencies RUN npm install -g
4
- pnpm RUN pnpm install --frozen-lockfile # Copy source code COPY . . # Build the
5
- application RUN pnpm --filter api build # Production stage FROM node:18-alpine
6
- WORKDIR /app # Install production dependencies only COPY package.json
7
- pnpm-lock.yaml ./ COPY apps/api/package.json ./apps/api/ RUN npm install -g pnpm
8
- RUN pnpm install --frozen-lockfile --prod # Copy built application COPY
9
- --from=builder /app/apps/api/dist ./apps/api/dist COPY --from=builder
10
- /app/apps/api/node_modules ./apps/api/node_modules # Set environment ENV
11
- NODE_ENV=production ENV PORT=3000 EXPOSE 3000 # Start the application CMD
12
- ["node", "apps/api/dist/main.js"]