Created
March 25, 2024 00:11
-
-
Save U1F30C/39ed1ffd82dd05f05dd08d14ec6ae10d to your computer and use it in GitHub Desktop.
build brcypt binary in docker to solve depencencies error loop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # to know the right version use | |
| # cat /etc/os-release | |
| # node --version | |
| FROM node:14-buster as build | |
| WORKDIR /app | |
| COPY . ./ | |
| RUN npm i | |
| CMD ls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "bcrypt-builder", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "index.js", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1" | |
| }, | |
| "author": "", | |
| "license": "ISC", | |
| "dependencies": { | |
| "bcrypt": "^5.0.1" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment