Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
FROM node:18-alpine AS base
RUN apk add --no-cache openssl

# Install dependencies only when needed
FROM base AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat openssl openssl-dev
WORKDIR /app

COPY package.json pnpm-lock.yaml* ./
COPY package.json pnpm-lock.yaml* pnpm-workspace.yaml ./
RUN yarn global add pnpm && pnpm i --frozen-lockfile

# Rebuild the source code only when needed
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.sqlchat-ai
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# This is the dockerfile to run www.sqlchat.ai, in particular it injects the NEXT_PUBLIC_ vars at
# BUILD time
FROM node:18-alpine AS base
RUN apk add --no-cache openssl

# Install dependencies only when needed
FROM base AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app

COPY package.json pnpm-lock.yaml* ./
COPY package.json pnpm-lock.yaml* pnpm-workspace.yaml ./
RUN yarn global add pnpm && pnpm i --frozen-lockfile

# Rebuild the source code only when needed
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"lodash-es": "^4.17.21",
"micro": "^10.0.1",
"micro-cors": "^0.1.1",
"next": "^13.2.4",
"next-auth": "^4.22.1",
"next": "^15.5.28",
"next-auth": "^4.24.15",
"nodemailer": "^6.9.1",
"react": "^18.2.0",
"react-data-table-component": "^7.5.3",
Expand Down
Loading