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:
commit
d947182058
|
@ -1,8 +1,8 @@
|
||||||
# Use LTS Node.js base image
|
# Use LTS Node.js slim image
|
||||||
FROM node:14.17-alpine
|
FROM node:14.17-slim
|
||||||
|
|
||||||
# Video support dependency
|
# Video support dependency
|
||||||
RUN apk add ffmpeg
|
RUN apt update && apt install -y ffmpeg
|
||||||
|
|
||||||
# Install NPM dependencies and copy the project
|
# Install NPM dependencies and copy the project
|
||||||
WORKDIR /teddit
|
WORKDIR /teddit
|
||||||
|
|
Loading…
Reference in New Issue