@backifydev/cli 0.4.6 → 0.4.7
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/README.md +4 -3
- package/dist/index.js +3364 -2400
- package/package.json +2 -2
- package/templates/common/Dockerfile +0 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backifydev/cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"description": "Command-line setup and diagnostics for Backify applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
"@types/node": "^24.3.1",
|
|
46
46
|
"@types/pg": "8.20.0",
|
|
47
47
|
"pg": "8.23.1",
|
|
48
|
-
"vitest": "^4.1.
|
|
48
|
+
"vitest": "^4.1.12"
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Built by Backify CI. One image runs every process role:
|
|
2
|
-
# web (default), worker, migrate, describe -> docker run <image> worker
|
|
3
|
-
FROM node:22-alpine AS build
|
|
4
|
-
WORKDIR /app
|
|
5
|
-
COPY package.json package-lock.json ./
|
|
6
|
-
RUN npm ci
|
|
7
|
-
COPY . .
|
|
8
|
-
RUN npm run build:server && npm prune --omit=dev
|
|
9
|
-
|
|
10
|
-
FROM node:22-alpine
|
|
11
|
-
WORKDIR /app
|
|
12
|
-
ENV NODE_ENV=production PORT=8080 HOST=0.0.0.0 BACKIFY_ENTRY=dist/server/index.js BACKIFY_MIGRATIONS_DIR=db/migrations
|
|
13
|
-
COPY --from=build --chown=node:node /app/package.json ./
|
|
14
|
-
COPY --from=build --chown=node:node /app/node_modules ./node_modules
|
|
15
|
-
COPY --from=build --chown=node:node /app/dist ./dist
|
|
16
|
-
COPY --from=build --chown=node:node /app/db ./db
|
|
17
|
-
USER node
|
|
18
|
-
EXPOSE 8080
|
|
19
|
-
ENTRYPOINT ["node", "--enable-source-maps", "node_modules/@backifydev/sdk/dist/app/run.js"]
|
|
20
|
-
CMD ["web"]
|