silly8 / Dockerfile
jjlineeee's picture
Create Dockerfile
dcab4fe verified
raw
history blame contribute delete
292 Bytes
FROM node:20-alpine
WORKDIR /app
RUN apk add --no-cache git bash
RUN git clone https://github.com/SillyTavern/SillyTavern.git . && rm -rf .git
RUN npm install --production
COPY start.sh /start.sh
RUN chmod +x /start.sh
EXPOSE 7860
ENV NODE_OPTIONS="--max-old-space-size=512"
CMD ["/start.sh"]