Simplify setup again to run in vscode (#138)

This commit is contained in:
Charles Bochet
2023-05-25 16:58:33 +02:00
committed by GitHub
parent 34543b7fea
commit 61099f99b8
3 changed files with 7 additions and 11 deletions

View File

@ -13,15 +13,17 @@ COPY ../../front/package.json .
COPY ../../front/package-lock.json .
RUN npm install
COPY ../../front .
WORKDIR /app/server
COPY ../../server/package.json .
COPY ../../server/package-lock.json .
RUN npm install
COPY ../../server .
WORKDIR /app
COPY ../.. .
WORKDIR /app/server
RUN npx prisma generate
WORKDIR /app