Update Dockerfile

This commit is contained in:
thaobk54 2025-11-24 22:57:26 +07:00 committed by GitHub
parent 199e6c8943
commit ef0da264fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,6 +34,10 @@ ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1 ENV NEXT_TELEMETRY_DISABLED=1
ENV NODE_OPTIONS=$NODE_OPTIONS ENV NODE_OPTIONS=$NODE_OPTIONS
RUN echo "172.66.156.100 binaries.prisma.sh" >> /etc/hosts && \
echo "172.66.156.100 binaries.prisma.sh" >> /etc/hosts && \
echo "172.66.156.100 binaries.prisma.sh" >> /etc/hosts && \
echo "172.66.156.100 binaries.prisma.sh" >> /etc/hosts
RUN addgroup --system --gid 1001 nodejs RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs RUN adduser --system --uid 1001 nextjs
RUN npm install -g pnpm RUN npm install -g pnpm