diff options
| author | Matt Foxx <[email protected]> | 2024-03-12 22:27:11 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-03-12 21:27:11 -0500 |
| commit | 7de96515e98fdc9e7e3e52a43c412a8b355b819f (patch) | |
| tree | abf52121442c1cd3e4c6790d401ea5b27a435502 /Dockerfile | |
| parent | 6baaffb730e1fc3c2057389332cf6f26486cadc2 (diff) | |
| download | muse-7de96515e98fdc9e7e3e52a43c412a8b355b819f.tar.xz muse-7de96515e98fdc9e7e3e52a43c412a8b355b819f.zip | |
refactor: Optimize apt commands and dependency versions (#1005)
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -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 |
