bcrypt
Browse files123456 unmodified lines1213141516178 unmodified lines2627282930FROM node:20-alpine# Create app directoryWORKDIR /app6 unmodified lines# Install additional dependenciesRUN npm install mongoose bcrypt jsonwebtoken @nestjs/passport @nestjs/jwt passport-jwt passport-custom jwt-decode passport-local uuid i18n-ts# Bundle app sourceCOPY . .8 unmodified lines# Command to run the applicationCMD ["npm", "run", "start:dev"]#finally lol123456786 unmodified lines1516171819202122238 unmodified lines323334FROM node:20-alpine# Install build dependenciesRUN apk add --no-cache make gcc g++ python3# Create app directoryWORKDIR /app6 unmodified lines# Install additional dependenciesRUN npm install mongoose bcrypt jsonwebtoken @nestjs/passport @nestjs/jwt passport-jwt passport-custom jwt-decode passport-local uuid i18n-ts# Rebuild bcryptRUN npm rebuild bcrypt --build-from-source# Bundle app sourceCOPY . .8 unmodified lines# Command to run the applicationCMD ["npm", "run", "start:dev"]
Dockerfile+6-2