1
0
mirror of https://codeberg.org/teddit/teddit synced 2025-02-14 11:10:37 +01:00
bradmurray d96372b08a Adding port expose to dockerfile
If you want to use a dockerized nginx the dockerfile has to have an expose command or no ports get exposed.
2022-12-27 02:07:31 +00:00

18 lines
353 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 wget
# 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 {} \;
EXPOSE 8080
CMD npm start