File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,6 @@ ENV NODE_ENV=production
4242RUN addgroup --system --gid 1001 nodejs
4343RUN adduser --system --uid 1001 nextjs
4444
45- COPY --from=builder /app/panel/public ./public
46-
4745# Automatically leverage output traces to reduce image size
4846# https://nextjs.org/docs/advanced-features/output-file-tracing
4947COPY --from=builder --chown=nextjs:nodejs /app/panel/.next/standalone ./
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ tasks.bootRun {
9393 )
9494}
9595
96- tasks.createDockerfile { dependsOn(" bootBuildImage " ) }
96+ tasks.createDockerfile { dependsOn(" bootJar " ) }
9797docker {
9898 generateOnBuild = false
9999
@@ -113,7 +113,7 @@ docker {
113113
114114 workdir(" /app" )
115115
116- val filename = tasks.bootBuildImage .get().archiveFile.get()
116+ val filename = tasks.bootJar .get().archiveFile.get()
117117 .asFile.relativeTo(dockerfileLocation.parentFile)
118118 copy(" $filename " , " /app/app.jar" )
119119
You can’t perform that action at this time.
0 commit comments