api / Dockerfile
ilhamdev's picture
Update Dockerfile
69c75b6 verified
raw
history blame contribute delete
296 Bytes
FROM node:20
WORKDIR /app
COPY .npmrc ./
COPY package*.json ./
RUN apt-get update && \
apt-get install -y ffmpeg python3.11-venv python3.11-distutils python3-pip && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN npm install
COPY . .
EXPOSE 7860
CMD ["node", "index.js"]