it builds locally now
Some checks failed
Deploy Website / deploy (push) Has been cancelled

This commit is contained in:
Lee
2024-10-09 01:54:07 +01:00
parent 516402863c
commit 3b7b3b7e50
4 changed files with 11 additions and 7 deletions

View File

@ -15,12 +15,16 @@ ENV NODE_ENV production
ARG GIT_REV
ENV GIT_REV=${GIT_REV}
# Copy the depends
COPY --from=depends /app/package.json* /app/bun.lockb* ./
COPY --from=depends /app/node_modules ./node_modules
# Build the common library
COPY --from=depends /app/projects/common ./projects/common
RUN bun i -g typescript
RUN bun --filter '@ssr/common' build
COPY --from=depends /app/node_modules ./node_modules
COPY --from=depends /app/package.json* /app/bun.lockb* ./
# Copy the website project
COPY --from=depends /app/projects/website ./projects/website
# Build the website