7
This commit is contained in:
parent
81092225cf
commit
a53f15a491
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
node_modules
|
||||||
|
dist
|
2
backend/.dockerignore
Normal file
2
backend/.dockerignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
node_modules
|
||||||
|
dist
|
@ -4,7 +4,7 @@ FROM fascinated/docker-images:nodejs_20_with_pnpm AS base
|
|||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
WORKDIR /app
|
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 --filter backend
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN pnpm run build:backend
|
RUN pnpm run build:backend
|
||||||
|
|
||||||
|
2
website/.dockerignore
Normal file
2
website/.dockerignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
node_modules
|
||||||
|
dist
|
Reference in New Issue
Block a user