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

This commit is contained in:
Lee 2024-10-04 20:47:38 +01:00
parent 81092225cf
commit a53f15a491
4 changed files with 7 additions and 1 deletions

2
.dockerignore Normal file

@ -0,0 +1,2 @@
node_modules
dist

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
WORKDIR /app
COPY package.json* pnpm-lock.yaml* ./
RUN pnpm install --frozen-lockfile --quiet --filter backend
RUN pnpm install --filter backend
COPY . .
RUN pnpm run build:backend

2
website/.dockerignore Normal file

@ -0,0 +1,2 @@
node_modules
dist