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

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