7
This commit is contained in:
parent
5d439c3ad6
commit
81092225cf
@ -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
|
||||||
|
10
package.json
10
package.json
@ -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"
|
||||||
|
Reference in New Issue
Block a user