Skip to content

Commit b0c6b13

Browse files
committed
chore: update deployment command in Dockerfiles to include --legacy flag
- Modified deployment commands in Dockerfile, Dockerfile.cloud, Dockerfile.schedule, and Dockerfile.server to add the --legacy flag for compatibility during deployment.
1 parent 84dd645 commit b0c6b13

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ENV NODE_ENV=production
2020
RUN pnpm --filter=@dokploy/server build
2121
RUN pnpm --filter=./apps/dokploy run build
2222

23-
RUN pnpm --filter=./apps/dokploy --prod deploy /prod/dokploy
23+
RUN pnpm --filter=./apps/dokploy --prod deploy --legacy /prod/dokploy
2424

2525
RUN cp -R /usr/src/app/apps/dokploy/.next /prod/dokploy/.next
2626
RUN cp -R /usr/src/app/apps/dokploy/dist /prod/dokploy/dist

Dockerfile.cloud

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ENV NODE_ENV=production
2929
RUN pnpm --filter=@dokploy/server build
3030
RUN pnpm --filter=./apps/dokploy run build
3131

32-
RUN pnpm --filter=./apps/dokploy --prod deploy /prod/dokploy
32+
RUN pnpm --filter=./apps/dokploy --prod deploy --legacy /prod/dokploy
3333

3434
RUN cp -R /usr/src/app/apps/dokploy/.next /prod/dokploy/.next
3535
RUN cp -R /usr/src/app/apps/dokploy/dist /prod/dokploy/dist

Dockerfile.schedule

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ENV NODE_ENV=production
2020
RUN pnpm --filter=@dokploy/server build
2121
RUN pnpm --filter=./apps/schedules run build
2222

23-
RUN pnpm --filter=./apps/schedules --prod deploy /prod/schedules
23+
RUN pnpm --filter=./apps/schedules --prod deploy --legacy /prod/schedules
2424

2525
RUN cp -R /usr/src/app/apps/schedules/dist /prod/schedules/dist
2626

Dockerfile.server

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ENV NODE_ENV=production
2020
RUN pnpm --filter=@dokploy/server build
2121
RUN pnpm --filter=./apps/api run build
2222

23-
RUN pnpm --filter=./apps/api --prod deploy /prod/api
23+
RUN pnpm --filter=./apps/api --prod deploy --legacy /prod/api
2424

2525
RUN cp -R /usr/src/app/apps/api/dist /prod/api/dist
2626

0 commit comments

Comments
 (0)