Implémentation de speech_recognition

This commit is contained in:
Quentin Roussel
2023-05-03 16:01:12 +02:00
parent 0e8c27e200
commit d16f543056
7 changed files with 61 additions and 30 deletions

View File

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