File size: 410 Bytes
c591fdf
92252e2
c591fdf
 
 
 
92252e2
 
 
 
c591fdf
 
 
92252e2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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/vaibhavk10/knightbot /home/node/knightbot
WORKDIR /home/node/SUBZERO-MD
RUN chmod -R 777 /home/node/knightbot/
RUN yarn install --network-concurrency 1
EXPOSE 7860
ENV NODE_ENV=production
CMD ["npm", "start"]