Details: Error loading shared library libssl.so.1.1: No such file or directory (needed by /app/node_

gravgorHOBBY

4 months ago

Rght now i got this error when deploying new update for my app.

0 Replies

gravgorHOBBY

4 months ago

db3d7136-a2df-4b6a-89c9-f7316aa5fc50


gravgorHOBBY

4 months ago

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.


gravgorHOBBY

4 months ago

And i am using custom dockerfile


gravgorHOBBY

4 months ago

```
FROM node:20-alpine

WORKDIR /app

COPY package*.json ./

RUN npm install --force

COPY . .

RUN npx prisma generate
ARG DATABASEURL ARG REDISURL
RUN echo $DATABASEURL RUN echo $REDISURL

RUN npm run build

EXPOSE 3000

ENV PORT 3000
ENV HOSTNAME "0.0.0.0"
ENV NODEENV production ENV NODEOPTIONS="--max-old-space-size=8192"
ENV NEXTTELEMETRYDISABLED 1

CMD ["npm", "start"]```


4 months ago

have you tried installing openssl?


Details: Error loading shared library libssl.so.1.1: No such file or directory (needed by /app/node_ - Railway Help Station