-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prisma 3.15.2 does not work on latest node:16-alpine3.17 (node:16-alpine3.16 works) #16834
Comments
We are using
|
Same issue here, Github CI node
|
Hi, I'm using fly.io for the hosting service. facing the same issue here. This is my set up files.
# Install dependencies only when needed
FROM node:16-alpine AS builder
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY . .
ENV NEXT_TELEMETRY_DISABLED 1
RUN npx prisma generate
RUN yarn build:nexus
# Production image, copy all the files and run next
FROM node:16-alpine AS runner
WORKDIR /app
ENV NODE_ENV production
ENV NEXT_TELEMETRY_DISABLED 1
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
COPY --from=builder --chown=node:node /app ./
# USER nextjs
USER node
CMD ["yarn", "start"] "dependencies": {
"@apollo/client": "^3.7.0",
"@chakra-ui/react": "^2.3.6",
"@emotion/react": "^11.10.4",
"@emotion/styled": "^11.10.4",
"@hookform/resolvers": "^2.9.10",
"@next-auth/prisma-adapter": "^1.0.5",
"@prisma/client": "^4.5.0",
...
} |
|
Perhaps it is related due to Alpine 3.17 upgrading to OpenSSL 3.0 from 1.1.1? |
Using similiar setups with docker.
package.json
In docker
Builds fine but error thrown on run time. |
Hey everyone, closing as a duplicate of #16553. TL/DR, you have two choices:
Notes:
|
Bug description
Suddenly our CI on github started to fail when running build inside docker image with node:16-alpine
After few tryouts I have find out that node:16-alpine3.16 works but latest version node:16-alpine3.17 does not.
Prisma shows this error
The text was updated successfully, but these errors were encountered: