Use slim node image instead of alpine

Signed-off-by: Austin Huang <im@austinhuang.me>
This commit is contained in:
Austin Huang 2022-01-26 17:47:08 +01:00
parent 1efe34c0ad
commit c97fb5a517
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
# Use LTS Node.js base image
FROM node:14.17-alpine
# Use LTS Node.js slim image
FROM node:14.17-slim
# Video support dependency
RUN apk add ffmpeg
RUN apt update && apt install -y ffmpeg
# Install NPM dependencies and copy the project
WORKDIR /teddit