SUBZERO-MD / Dockerfile
MATRIX-XMD's picture
Update Dockerfile
8ffb8d3 verified
raw
history blame
412 Bytes
FROM node:lts-buster
USER root
RUN apt-get update && \
apt-get install -y ffmpeg webp git && \
apt-get upgrade -y && \
rm -rf /var/lib/apt/lists/*
USER node
RUN git clone https://github.com/devhanstz/MATRIX-XMD /home/node/MATRIX-XMD
WORKDIR /home/node/MATRIX-XMD
RUN chmod -R 777 /home/node/MATRIX-XMD/
RUN yarn install --network-concurrency 1
EXPOSE 7860
ENV NODE_ENV=production
CMD ["npm", "start"]