mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-21 14:29:28 +01:00
16 lines
308 B
Docker
16 lines
308 B
Docker
# Use LTS Node.js base image
|
|
FROM node:14.17-alpine
|
|
|
|
# Video support dependency
|
|
RUN apk add 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
|