Skip to content

Commit

Permalink
fix: lost image & Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazee6 committed Jun 3, 2024
1 parent e949c42 commit dfce053
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ EXPOSE 3000

RUN npm i -g pnpm

COPY package.json pnpm-lock.yaml ./
COPY package.json ./

COPY patches ./patches

RUN pnpm install --frozen-lockfile
RUN pnpm install

COPY . .

Expand Down
1 change: 1 addition & 0 deletions utils/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export class Database extends Dexie {
i.src?.forEach(src => {
i.src_url!.push(URL.createObjectURL(src))
})
i.content = 'image'
}
})
return arr
Expand Down

0 comments on commit dfce053

Please sign in to comment.