teddit-reddit-frontend-alte.../Dockerfile

14 lines
267 B
Docker
Raw Normal View History

2020-12-09 23:02:44 +01:00
# Use LTS Node.js base image
2021-04-05 12:09:48 +02:00
FROM node:14.16-alpine
2020-12-09 23:02:44 +01:00
# Video support dependency
RUN apk add ffmpeg
2020-12-09 23:02:44 +01:00
# Install NPM dependencies and copy the project
WORKDIR /teddit
2020-12-09 23:02:44 +01:00
COPY . /teddit/
RUN npm install --no-optional
COPY config.js.template /teddit/config.js
CMD npm start