Bcrypt: invalid ELF header with Docker and Sails.JS

后端 未结 7 1984
被撕碎了的回忆
被撕碎了的回忆 2021-01-02 02:41

My Node Dockfile:

# Set the base image to ubuntu
FROM ubuntu

# Define working directory
ADD . /src
WORKDIR /src

# Install Node.js & other          


        
7条回答
  •  情歌与酒
    2021-01-02 03:01

    In my package config I had "bcrypt":"^0.8.0" and when I took out the ^ and changed it to "bcrypt":"0.8.0" I was able to get everything running.

    The issue was that it was trying to run bcrypt 0.8.5 and that was causing issues for some reason.

提交回复
热议问题