diff --git a/Jenkinsfile b/Jenkinsfile index cbf9411..f19e389 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ import FrontendBuild FrontendBuild({ name = 'portfolio' - port = "92:3000" + port = "93:3000" runSonar = true appType = "nextjs" }) diff --git a/docker/Dockerfile b/docker/Dockerfile index c06291c..62061ef 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -10,16 +10,11 @@ ENV NEXT_TELEMETRY_DISABLED 1 RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs -RUN ls -a - COPY .next/ .next/ COPY public/ public/ COPY node_modules/ node_modules/ COPY package.json package.json -RUN ls -a -RUN ls -a .next - RUN chown -R nextjs:nodejs .next USER nextjs