add docker-compose.dev. edit dockerfile

pull/1644/head
Sergei Meza 2022-10-14 14:35:53 +09:00
parent efef98e8b4
commit 7a1dc69188
1 changed files with 3 additions and 3 deletions

View File

@ -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