Fix prod install scripts
This commit is contained in:
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user