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

14 lines
269 B
Docker
Raw Normal View History

2020-12-09 23:02:44 +01:00
# Use LTS Node.js base image
FROM node:14.15.1-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