doz / Dockerfile
txtorg's picture
Create Dockerfile
26a7316 verified
Raw
History Blame Contribute Delete
1.48 kB
###############################################
###############################################
FROM node:20
###############################################
###############################################
RUN apt-get update && \
###############################################
###############################################
apt-get install -y git ffmpeg && \
###############################################
###############################################
apt-get clean && \
###############################################
rm -rf /var/lib/apt/lists/*
###############################################
###############################################
COPY start.sh /start.sh
###############################################
RUN chmod +x /start.sh
###############################################
###############################################
RUN mkdir -p /app && chmod -R 777 /app
###############################################
###############################################
WORKDIR /app
###############################################
###############################################
RUN npm install node-telegram-bot-api express cors fluent-ffmpeg mongodb
###############################################
###############################################
EXPOSE 7860
###############################################
###############################################
CMD ["/start.sh"]
###############################################
###############################################