api / Dockerfile
ilhamdev's picture
Update Dockerfile
6f056b7 verified
raw
history blame
303 Bytes
FROM node:20
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y lsb-release && apt-get install -y && apt-get install ffmpeg -y && apt-get install python3 -y
RUN rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY package.json .
RUN npm i
COPY . .
EXPOSE 7860
CMD ["node""index.js"]