mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
chore: update dockerfiles
This commit is contained in:
parent
83d52b68f0
commit
60d4e1ba63
@ -15,6 +15,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
|
||||
# Deploy only the dokploy app
|
||||
|
||||
ENV NODE_ENV=production
|
||||
RUN pnpm --filter=@dokploy/server switch:prod
|
||||
RUN pnpm --filter=@dokploy/server build
|
||||
RUN pnpm --filter=./apps/dokploy run build
|
||||
|
||||
|
@ -15,6 +15,8 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm --filter=@dokploy/server
|
||||
# Deploy only the dokploy app
|
||||
|
||||
ENV NODE_ENV=production
|
||||
RUN pnpm --filter=@dokploy/server switch:prod
|
||||
RUN pnpm --filter=@dokploy/server build
|
||||
RUN pnpm --filter=./apps/dokploy run build
|
||||
|
||||
RUN pnpm --filter=./apps/dokploy --prod deploy /prod/dokploy
|
||||
|
@ -15,6 +15,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm --filter=@dokploy/server
|
||||
# Deploy only the dokploy app
|
||||
|
||||
ENV NODE_ENV=production
|
||||
RUN pnpm --filter=@dokploy/server switch:prod
|
||||
RUN pnpm --filter=@dokploy/server build
|
||||
RUN pnpm --filter=./apps/schedules run build
|
||||
|
||||
|
@ -15,6 +15,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm --filter=@dokploy/server
|
||||
# Deploy only the dokploy app
|
||||
|
||||
ENV NODE_ENV=production
|
||||
RUN pnpm --filter=@dokploy/server switch:prod
|
||||
RUN pnpm --filter=@dokploy/server build
|
||||
RUN pnpm --filter=./apps/api run build
|
||||
|
||||
|
@ -21,7 +21,6 @@
|
||||
"import": "./dist/index.js",
|
||||
"require": "./dist/index.cjs.js"
|
||||
},
|
||||
|
||||
"./dist/db": {
|
||||
"import": "./dist/db/index.js",
|
||||
"require": "./dist/db/*.cjs"
|
||||
|
@ -17,6 +17,27 @@ pkg.exports = {
|
||||
import: "./src/db/index.ts",
|
||||
require: "./dist/db/index.cjs.js",
|
||||
},
|
||||
"./setup/*": {
|
||||
import: "./src/setup/*.ts",
|
||||
require: "./dist/setup/index.cjs.js",
|
||||
},
|
||||
"./constants": {
|
||||
import: "./src/constants/index.ts",
|
||||
require: "./dist/constants.cjs.js",
|
||||
},
|
||||
"./dist": {
|
||||
import: "./dist/index.js",
|
||||
require: "./dist/index.cjs.js",
|
||||
},
|
||||
|
||||
"./dist/db": {
|
||||
import: "./dist/db/index.js",
|
||||
require: "./dist/db/*.cjs",
|
||||
},
|
||||
"./dist/db/schema": {
|
||||
import: "./dist/db/schema/index.js",
|
||||
require: "./dist/db/schema/*.cjs",
|
||||
},
|
||||
};
|
||||
|
||||
// Guardar los cambios en package.json
|
||||
|
Loading…
Reference in New Issue
Block a user