mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-30 04:09:23 +01:00
16 lines
323 B
Docker
16 lines
323 B
Docker
|
# Use LTS nodejs base image
|
||
|
FROM node:14.15.1-alpine
|
||
|
|
||
|
# video support dependency
|
||
|
RUN apk add ffmpeg
|
||
|
|
||
|
# install npm dependencies and copy project
|
||
|
WORKDIR /teddit
|
||
|
COPY package.json /teddit/
|
||
|
COPY package-lock.json /teddit/
|
||
|
RUN npm install --no-optional
|
||
|
COPY config.js.template /teddit/config.js
|
||
|
COPY . /teddit/
|
||
|
|
||
|
CMD npm start
|