api / Dockerfile
ilhamdev's picture
Update Dockerfile
8d79164 verified
raw
history blame
247 Bytes
FROM node:20
WORKDIR /app
COPY .npmrc ./
COPY package*.json ./
RUN npm install
RUN apt-get update && \
apt-get install -y ffmpeg && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY . .
EXPOSE 7860
CMD ["node", "index.js"]