mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-22 14:59:26 +01:00
14 lines
267 B
Docker
14 lines
267 B
Docker
# Use LTS Node.js base image
|
|
FROM node:14.16-alpine
|
|
|
|
# Video support dependency
|
|
RUN apk add ffmpeg
|
|
|
|
# Install NPM dependencies and copy the project
|
|
WORKDIR /teddit
|
|
COPY . /teddit/
|
|
RUN npm install --no-optional
|
|
COPY config.js.template /teddit/config.js
|
|
|
|
CMD npm start
|