Merge pull request 'Use slim node image instead of alpine' (#288) from austinhuang.me/teddit:austinhuang.me-patch-1 into main

Reviewed-on: https://codeberg.org/teddit/teddit/pulls/288
This commit is contained in:
teddit 2022-01-29 14:40:41 +01:00
commit d947182058
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