7
This commit is contained in:
parent
5d439c3ad6
commit
81092225cf
@ -6,7 +6,7 @@ WORKDIR /app
|
||||
COPY package.json* pnpm-lock.yaml* ./
|
||||
RUN pnpm install --frozen-lockfile --quiet --filter backend
|
||||
COPY . .
|
||||
RUN pnpm run build --filter backend
|
||||
RUN pnpm run build:backend
|
||||
|
||||
# Final stage to run the app
|
||||
FROM base AS runner
|
||||
|
10
package.json
10
package.json
@ -3,10 +3,14 @@
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "pnpm run -r dev",
|
||||
"dev:website": "pnpm --filter website dev",
|
||||
"dev:backend": "pnpm --filter backend dev",
|
||||
"start:backend": "pnpm --filter backend start",
|
||||
"start:frontend": "pnpm --filter frontend start"
|
||||
"dev:website": "pnpm --filter website dev",
|
||||
|
||||
"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",
|
||||
"license": "MIT"
|
||||
|
Reference in New Issue
Block a user