mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-27 09:12:43 +02:00
refactor: Optimize apt commands and dependency versions (#1005)
This commit is contained in:
parent
6baaffb730
commit
7de96515e9
1 changed files with 12 additions and 3 deletions
15
Dockerfile
15
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue