diff --git a/Dockerfile b/Dockerfile index a3d20ac8..cd8a01bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,18 @@ FROM node:18.7.0-slim AS base +# openssl will be a required package if base is updated to 18.16+ due to node:*-slim base distro change +# https://github.com/prisma/prisma/issues/19729#issuecomment-1591270599 # Install ffmpeg -RUN apt-get update && \ - apt-get install -y ffmpeg tini libssl-dev ca-certificates git && \ - rm -rf /var/lib/apt/lists/* +RUN apt-get update \ + && apt-get install --no-install-recommends -y \ + ffmpeg \ + tini \ + openssl \ + ca-certificates \ + git \ + && apt-get autoclean \ + && apt-get autoremove \ + && rm -rf /var/lib/apt/lists/* # Install dependencies FROM base AS dependencies