mirror of
https://git.roussel.pro/telecom-paris/pact.git
synced 2026-02-09 10:30:17 +01:00
Implémentation de speech_recognition
This commit is contained in:
@@ -23,15 +23,11 @@ ENV NEXT_TELEMETRY_DISABLED 1
|
||||
RUN addgroup --system --gid 1001 nodejs
|
||||
RUN adduser --system --uid 1001 nextjs
|
||||
|
||||
#TODO : changer pour prod
|
||||
# COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next
|
||||
# COPY --from=builder /app/node_modules ./node_modules
|
||||
# COPY --from=builder /app/package.json ./package.json
|
||||
COPY --from=builder --chown=nextjs:nodejs /app .
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next
|
||||
COPY --from=builder /app/node_modules ./node_modules
|
||||
COPY --from=builder /app/package.json ./package.json
|
||||
|
||||
USER nextjs
|
||||
|
||||
ENV PORT 3000
|
||||
# TODO : a changer en prod
|
||||
# CMD ["npm", "start"]
|
||||
CMD ["npm","run", "dev"]
|
||||
CMD ["npm", "start"]
|
||||
|
||||
Reference in New Issue
Block a user