mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-29 19:29:27 +01:00
734b11c926
- updated config.js template to support environment variables
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
|