1
0
mirror of https://codeberg.org/teddit/teddit synced 2025-01-09 09:02:39 +01:00
teddit-reddit-frontend-alte.../Dockerfile
2022-01-29 14:53:45 +01:00

16 lines
335 B
Docker

# Use LTS Node.js slim image
FROM node:14.17-slim
# Video support dependency
RUN apt-get update && apt-get install -y ffmpeg
# Install NPM dependencies and copy the project
WORKDIR /teddit
COPY . ./
RUN npm install --no-optional
COPY config.js.template ./config.js
RUN find ./static/ -type d -exec chmod -R 777 {} \;
CMD npm start