Cloner / Dockerfile
𝐃𝐀𝐑𝐑𝐄𝐋𝐋 πŒπ”π‚π‡π„π‘πˆ ⚑
Update Dockerfile
8133bac unverified
raw
history blame
454 Bytes
FROM node:lts-buster
Install Git and other dependencies
RUN apt-get update && \
apt-get install -y \
git \
ffmpeg \
imagemagick \
webp && \
apt-get upgrade -y && \
rm -rf /var/lib/apt/lists/*
Copy package.json and install dependencies
COPY package.json .
RUN npm install && npm install -g qrcode-terminal pm2
Copy application code
COPY . .
Expose port and set command
EXPOSE 3000
CMD ["pm2-runtime", "start", "index.js"]