| # Use the official Node.js image as the base image | |
| FROM node:20.4 | |
| # Set the working directory in the container | |
| WORKDIR /app | |
| RUN git clone https://github.com/locmaymo/SillyTavern-huggingface.git . | |
| RUN chown -R node:node ./* && \ | |
| chmod u+x ./* && \ | |
| chmod -R 777 /app | |
| RUN npm install | |
| # Start the application | |
| CMD ["node", "server.js", "--disableCsrf"] |