Skip to content

Commit

Permalink
fix: docker build (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
okisdev authored Jul 3, 2024
1 parent 4edf511 commit e6604fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /app

COPY package.json pnpm-lock.yaml ./

RUN npm i -g pnpm@8.15.7
RUN npm i -g pnpm@latest
RUN pnpm install

COPY . .
Expand All @@ -21,7 +21,7 @@ COPY --from=base /app/public ./public
COPY --from=base /app/node_modules ./node_modules
COPY --from=base /app/next.config.mjs ./next.config.mjs

RUN npm i -g pnpm@8.15.7
RUN npm i -g pnpm@latest

EXPOSE 3000

Expand Down
2 changes: 1 addition & 1 deletion components/layout/search/block/answer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import store from '@/hooks/store';
export const Answer = ({
content,
}: Readonly<{
content: StreamableValue<string>;
content: string | StreamableValue<string>;
}>) => {
const t = useTranslations();

Expand Down

0 comments on commit e6604fd

Please sign in to comment.