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

2 years ago

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

Closed

5 Replies

gravgor
HOBBYOP

2 years ago

db3d7136-a2df-4b6a-89c9-f7316aa5fc50


gravgor
HOBBYOP

2 years 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.


gravgor
HOBBYOP

2 years ago

And i am using custom dockerfile


gravgor
HOBBYOP

2 years ago

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?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...