tutoihoc commited on
Commit
4212ed3
·
verified ·
1 Parent(s): 5652835

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -5,7 +5,7 @@ FROM node:20.4
5
  WORKDIR /app
6
 
7
  RUN --mount=type=secret,id=CLONE,mode=0444,required=true \
8
- git clone $(cat /run/secrets/CLONE) .
9
 
10
  RUN chown -R node:node ./* && \
11
  chmod u+x ./* && \
@@ -13,4 +13,4 @@ RUN chown -R node:node ./* && \
13
  RUN npm install
14
 
15
  # Start the application
16
- CMD ["node", "server.js", "--disableCsrf"]
 
5
  WORKDIR /app
6
 
7
  RUN --mount=type=secret,id=CLONE,mode=0444,required=true \
8
+ git clone https://github.com/tutoihoc/SillyTavern.git .
9
 
10
  RUN chown -R node:node ./* && \
11
  chmod u+x ./* && \
 
13
  RUN npm install
14
 
15
  # Start the application
16
+ CMD ["node", "server.js"]