sltvrn / Dockerfile
2ch's picture
Update Dockerfile
e408395 verified
raw
history blame contribute delete
409 Bytes
FROM node:lts-alpine3.19
RUN apk add git curl bash wget davfs2 fuse sudo
WORKDIR /tavern
RUN git clone https://github.com/SillyTavern/SillyTavern -b staging .
RUN npm install --no-audit --no-fund --loglevel=error --no-progress --omit=dev && npm cache clean --force
RUN chmod -R 777 /tavern
COPY . .
RUN rm -rf /tavern/data/*
RUN chmod +x /tavern/entrypoint.sh /tavern/webdav-sync
CMD ["/tavern/entrypoint.sh"]