dood-tes / Dockerfile
akkun3704's picture
Update Dockerfile
d9355d8 verified
raw
history blame
264 Bytes
FROM node:latest
RUN apt-get update && apt-get install -y chromium ffmpeg imagemagick libnss3-dev && rm -rf /var/lib/apt/lists/*
ENV CHROME_BIN=/usr/bin/chromium
WORKDIR /app
COPY package.json .
RUN npm install
COPY . .
EXPOSE 7860
CMD ["node", "index.js"]