mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
refactor: remove global bcryptjs installation and add as a dependency
- Removed the global installation of bcryptjs from the Dockerfile. - Added bcryptjs as a dependency in package.json to ensure it is included in the project build. This change streamlines the Docker image setup by managing bcryptjs through package.json, improving dependency management.
This commit is contained in:
parent
008d5a36f1
commit
6f04b1449f
2 changed files with 1 additions and 3 deletions
|
|
@ -14,9 +14,6 @@ RUN apt-get update && apt-get install -y \
|
|||
|
||||
RUN yarn install
|
||||
|
||||
# Install bcryptjs globally for password hashing
|
||||
RUN npm install -g bcryptjs
|
||||
|
||||
ADD /packages/db ./packages/db
|
||||
ADD /packages/db/setup.sh ./packages/db/setup.sh
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"bcryptjs": "^2.4.3",
|
||||
"dotenv": "^8.2.0",
|
||||
"pg": "^8.3.0",
|
||||
"postgrator": "^4.1.1",
|
||||
|
|
|
|||
Loading…
Reference in a new issue