mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
changed prisma to be generated after copying files from local dir to docker
This commit is contained in:
committed by
Aaro Koivukangas
parent
ce8188e570
commit
e7f1d13fbe
@@ -15,10 +15,11 @@ COPY --chown=node ./backend/prisma/schema_log.prisma backend
|
||||
WORKDIR /usr/src/app/backend
|
||||
|
||||
RUN npm ci
|
||||
RUN npm run prisma
|
||||
|
||||
# Be careful with this! Copying local node_modules makes bcrypt.hash fail silently with exit 139!!
|
||||
# (incompatible libc versions)
|
||||
COPY --chown=node ./backend .
|
||||
|
||||
RUN npm run prisma
|
||||
|
||||
CMD ["npm", "run", "dev"]
|
||||
|
||||
Reference in New Issue
Block a user