You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title:
Application Crash with bcrypt's compare function on node docker image
Description:
I ran into an issue where my application crashes when using the compare function from bcrypt on the node Docker image.
Here are the details:
Steps to Reproduce:
Use the node Docker image in a Node.js application.
Utilize bcrypt's compare function to compare hashed passwords.
Observe the application crash upon invoking the compare function.
Expected Behavior:
The application should successfully execute the compare function without crashing.
Actual Behavior:
The application crashes when calling the compare function without throwing any specific error.
Additional Details:
Dockerfile:
FROM node
WORKDIR /home/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 4000
CMD ["npm", "run", `"dev"]
Title:
Application Crash with bcrypt's compare function on node docker image
Description:
I ran into an issue where my application crashes when using the compare function from bcrypt on the node Docker image.
Here are the details:
Steps to Reproduce:
Use the node Docker image in a Node.js application.
Utilize bcrypt's compare function to compare hashed passwords.
Observe the application crash upon invoking the compare function.
Expected Behavior:
The application should successfully execute the compare function without crashing.
Actual Behavior:
The application crashes when calling the compare function without throwing any specific error.
Additional Details:
Dockerfile:
and this is my docker-compose.yml:
I read on this issue it could be a library mismatch, but I tried using a .dockerignore file and nothing changed.
Any suggestion on what I could do?
The text was updated successfully, but these errors were encountered: