FROM node:lts-buster | |
RUN apt-get update && \ | |
apt-get install -y \ | |
git \ | |
ffmpeg \ | |
imagemagick \ | |
python \ | |
python3 \ | |
python3-pip \ | |
webp && \ | |
apt-get upgrade -y && \ | |
rm -rf /var/lib/apt/lists/* | |
WORKDIR /app | |
RUN git clone https://diki6969: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@github.com/diki6969/kyysya.git | |
WORKDIR /app/kyysya | |
RUN npm install --force && npm i -g nodemon | |
RUN pip3 install -r requirement.txt | |
ENV PORT 7860 | |
EXPOSE 7860 | |
RUN chmod -R 777 /app | |
CMD ["nodemon", "index.js"] |