Spaces:
Running
Running
FROM node:lts-buster | |
RUN apt-get update && \ | |
apt-get install -y \ | |
git \ | |
ffmpeg \ | |
imagemagick \ | |
webp && \ | |
apt-get upgrade -y && \ | |
rm -rf /var/lib/apt/lists/* | |
RUN git clone https://github.com/mrfrank-ofc/SUBZERO-MD.git /usr/src/app | |
WORKDIR /usr/src/app | |
Copy package.json and install dependencies | |
COPY package.json . | |
Install npm packages and qrcode-terminal | |
RUN npm install && npm install qrcode-terminal | |
Expose the port the app will run on | |
EXPOSE 5000 | |
Start the bot | |
CMD ["node", "index.js"] | |