Skip to content

Commit 4755004

Browse files
committed
Fix npm install with --legacy-peer-deps
1 parent 12eb77d commit 4755004

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.prod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ WORKDIR /usr/src/app
55

66
COPY . .
77

8-
RUN npm install
8+
RUN npm install --legacy-peer-deps
99
RUN cd packages/db && DATABASE_URL=$DATABASE_URL npx prisma generate && cd ../..
1010
## put DATABASE_URL in apps/web/.env
1111
RUN echo DATABASE_URL=$DATABASE_URL >> apps/web/.env
@@ -15,4 +15,4 @@ RUN rm apps/web/.env
1515

1616
EXPOSE 3000
1717

18-
CMD ["npm", "run", "start"]
18+
CMD ["npm", "run", "start"]

0 commit comments

Comments
 (0)