Fix prod install scripts

This commit is contained in:
Charles Bochet
2023-06-14 17:23:48 +02:00
parent c20108e088
commit 16fbe5a607
4 changed files with 7 additions and 7 deletions

View File

@ -18,10 +18,10 @@
"esbenp.prettier-vscode",
"GraphQL.vscode-graphql",
"prisma.prisma",
"unifiedjs.vscode-mdx",
"yoavbls.pretty-ts-errors",
"graphql.vscode-graphql-syntax",
"graphql.vscode-graphql"
"unifiedjs.vscode-mdx",
"yoavbls.pretty-ts-errors",
"graphql.vscode-graphql-syntax",
"graphql.vscode-graphql"
]
}
}

View File

@ -4,7 +4,7 @@ WORKDIR /app/docs
COPY ./docs/package.json .
COPY ./docs/yarn.lock .
RUN yarn install
RUN yarn install --prod
COPY ./docs .
RUN npm run build

View File

@ -8,7 +8,7 @@ COPY ../packages/ /app/packages
WORKDIR /app/front
COPY ./front .
RUN yarn install
RUN yarn install --prod
RUN yarn build
RUN yarn global add serve

View File

@ -3,7 +3,7 @@ FROM node:18.16.0-alpine as server
WORKDIR /app/server
COPY ./server/package.json ./
COPY ./server/yarn.lock ./
RUN yarn install
RUN yarn install --prod
COPY ./server .
RUN npx prisma generate