LiltenBot / Dockerfile
mrfrank-ofc's picture
Update Dockerfile
bbbc0bb verified
raw
history blame
528 Bytes
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"]