Skip to content

Commit

Permalink
proper bcrypt and no platform
Browse files Browse the repository at this point in the history
  • Loading branch information
davidleonm committed Jan 14, 2025
1 parent 510595d commit 53a74b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$TARGETPLATFORM node:lts-alpine AS builder
FROM node:lts-alpine AS builder

WORKDIR /app

Expand All @@ -10,7 +10,7 @@ RUN apk add --no-cache openssl && \
npm run build


FROM --platform=$TARGETPLATFORM node:lts-alpine
FROM node:lts-alpine

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion db/db.seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Logger } from '@nestjs/common'
import { GlobalConfig } from '../src/config/global.config'
import { Prisma } from '@prisma/client'
import prisma from '../src/db/prismaClient.db'
import * as bcrypt from 'bcrypt'
import * as bcrypt from 'bcryptjs'
import { Role } from '../src/model/auth.model'
import { WindDirection } from '../src/model/measurements.model'

Expand Down

0 comments on commit 53a74b9

Please sign in to comment.