1
0
mirror of https://codeberg.org/teddit/teddit synced 2025-01-09 09:02:39 +01:00
teddit-reddit-frontend-alte.../Dockerfile
Alexander Wong 734b11c926
Added support for Docker, Docker-Compose
- updated config.js template to support environment variables
2020-12-07 12:57:20 -07:00

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