Reduce container image size (#485)

Co-authored-by: Max Isom <hi@maxisom.me>
This commit is contained in:
Thongrapee Panyapatiphan 2022-01-22 08:20:23 +07:00 committed by GitHub
parent 8041586c31
commit 1081b1bce7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View file

@ -1,9 +1,9 @@
FROM node:16.13.0 AS base
FROM node:16.13.2-alpine AS base
# Install ffmpeg
RUN apt-get update && \
apt-get install -y ffmpeg && \
rm -rf /var/lib/apt/lists/*
RUN apk update && \
apk add ffmpeg && \
rm -rf /var/cache/apk/*
WORKDIR /usr/app