7
Some checks failed
Deploy Backend / deploy (push) Failing after 33s
Deploy Frontend / deploy (push) Failing after 13s

This commit is contained in:
Lee 2024-10-04 20:44:15 +01:00
parent 5d439c3ad6
commit 81092225cf
2 changed files with 8 additions and 4 deletions

@ -6,7 +6,7 @@ WORKDIR /app
COPY package.json* pnpm-lock.yaml* ./ COPY package.json* pnpm-lock.yaml* ./
RUN pnpm install --frozen-lockfile --quiet --filter backend RUN pnpm install --frozen-lockfile --quiet --filter backend
COPY . . COPY . .
RUN pnpm run build --filter backend RUN pnpm run build:backend
# Final stage to run the app # Final stage to run the app
FROM base AS runner FROM base AS runner

@ -3,10 +3,14 @@
"version": "1.0.0", "version": "1.0.0",
"scripts": { "scripts": {
"dev": "pnpm run -r dev", "dev": "pnpm run -r dev",
"dev:website": "pnpm --filter website dev",
"dev:backend": "pnpm --filter backend dev", "dev:backend": "pnpm --filter backend dev",
"start:backend": "pnpm --filter backend start", "dev:website": "pnpm --filter website dev",
"start:frontend": "pnpm --filter frontend start"
"build:website": "pnpm --filter website start",
"build:backend": "pnpm --filter backend start",
"start:website": "pnpm --filter website start",
"start:backend": "pnpm --filter backend start"
}, },
"author": "fascinated7", "author": "fascinated7",
"license": "MIT" "license": "MIT"