From 7b35957664e1ee3ef0784697d79862c433fd7034 Mon Sep 17 00:00:00 2001 From: Michael lima Date: Tue, 31 Dec 2024 01:49:29 -0400 Subject: [PATCH] Update Dockerfile - Fix Prisma failed to detect the libssl/openssl When try create a image with docker build -t --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4c99317d..7c81438f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM node:20-alpine AS builder RUN apk update && \ - apk add git ffmpeg wget curl bash + apk add git ffmpeg wget curl bash openssl libc6-compat LABEL version="2.2.0" description="Api to control whatsapp features through http requests." LABEL maintainer="Davidson Gomes" git="https://github.com/DavidsonGomes" @@ -32,7 +32,7 @@ RUN npm run build FROM node:20-alpine AS final RUN apk update && \ - apk add tzdata ffmpeg bash + apk add tzdata ffmpeg bash openssl libc6-compat ENV TZ=America/Sao_Paulo @@ -55,4 +55,4 @@ ENV DOCKER_ENV=true EXPOSE 8080 -ENTRYPOINT ["/bin/bash", "-c", ". ./Docker/scripts/deploy_database.sh && npm run start:prod" ] \ No newline at end of file +ENTRYPOINT ["/bin/bash", "-c", ". ./Docker/scripts/deploy_database.sh && npm run start:prod" ]