mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Backend dev.Dockerfile: Fix npm ci order, caused bcrypt issue
The COPY command replaced the container's node_modules (installed with npm ci) with the host systems node_modules, and for some reason this caused (on one PC) an issue where bcrypt.hash hanged forever.
This commit is contained in:
@@ -12,10 +12,10 @@ COPY backend/prisma backend
|
||||
|
||||
WORKDIR /usr/src/app/backend
|
||||
|
||||
RUN npm ci
|
||||
|
||||
COPY backend .
|
||||
|
||||
RUN npm ci
|
||||
|
||||
RUN npm run prisma
|
||||
|
||||
CMD ["npm", "run", "dev"]
|
||||
|
||||
Reference in New Issue
Block a user