gravgor
HOBBYOP
2 years ago
Rght now i got this error when deploying new update for my app.
5 Replies
Please manually install OpenSSL and try installing Prisma again.
prisma:warn Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-1.1.x".
Please manually install OpenSSL and try installing Prisma again.
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --force
COPY . .
RUN npx prisma generate
ARG DATABASE_URL
ARG REDIS_URL
RUN echo $DATABASE_URL
RUN echo $REDIS_URL
RUN npm run build
EXPOSE 3000
ENV PORT 3000
ENV HOSTNAME "0.0.0.0"
ENV NODE_ENV production
ENV NODE_OPTIONS="--max-old-space-size=8192"
ENV NEXT_TELEMETRY_DISABLED 1
CMD ["npm", "start"]```
2 years ago
have you tried installing openssl?