mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-27 17:22:42 +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
|
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
|
# Install ffmpeg
|
||||||
RUN apt-get update && \
|
RUN apt-get update \
|
||||||
apt-get install -y ffmpeg tini libssl-dev ca-certificates git && \
|
&& apt-get install --no-install-recommends -y \
|
||||||
rm -rf /var/lib/apt/lists/*
|
ffmpeg \
|
||||||
|
tini \
|
||||||
|
openssl \
|
||||||
|
ca-certificates \
|
||||||
|
git \
|
||||||
|
&& apt-get autoclean \
|
||||||
|
&& apt-get autoremove \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
FROM base AS dependencies
|
FROM base AS dependencies
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue