2
0

ci: 👷 Simplify build on Vercel

This commit is contained in:
Baptiste Arnaud
2022-06-22 10:23:54 +02:00
parent f801a29539
commit 3392e04d38
5 changed files with 5 additions and 9 deletions

View File

@ -20,7 +20,7 @@ COPY --from=pruner /app/out/full/ .
COPY ./apps/${SCOPE}/.env.docker ./apps/${SCOPE}/.env.production
COPY ./apps/${SCOPE}/.env.docker ./apps/${SCOPE}/.env.local
RUN apt-get -qy update && apt-get -qy install openssl
RUN yarn turbo run build:docker --scope=${SCOPE} --include-dependencies --no-deps
RUN yarn turbo run build --scope=${SCOPE} --include-dependencies --no-deps
RUN find . -name node_modules | xargs rm -rf
FROM base AS runner