api / Dockerfile
ilhamdev's picture
Update Dockerfile
1d40071 verified
raw
history blame
365 Bytes
FROM node:latest
RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository multiverse && \
add-apt-repository non-free && \
apt-get update && \
apt-get install -y ffmpeg && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY package.json .
RUN npm install
COPY . .
EXPOSE 7860
CMD ["node", "index.js"]