From 7a1dc6918892280003635abf2990c96d21bc4259 Mon Sep 17 00:00:00 2001 From: Sergei Meza Date: Fri, 14 Oct 2022 14:35:53 +0900 Subject: [PATCH] add docker-compose.dev. edit dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index eb7ebf1a..2243cf57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,8 +29,8 @@ WORKDIR /app ENV NODE_ENV production ENV NEXT_TELEMETRY_DISABLED 1 -RUN addgroup --system --gid 1001 nodejs -RUN adduser --system --uid 1001 nextjs +# RUN addgroup --system --gid 1001 nodejs +# RUN adduser --system --uid 1001 nextjs RUN yarn add npm-run-all dotenv prisma @@ -46,7 +46,7 @@ COPY --from=builder /app/scripts ./scripts COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static -USER nextjs +# USER nextjs EXPOSE 3000