Reaperxxxx commited on
Commit
5cd4cea
·
verified ·
1 Parent(s): 7477b66

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -2
Dockerfile CHANGED
@@ -9,11 +9,17 @@ COPY . .
9
  # Install dependencies
10
  RUN yarn install
11
 
12
- # Set permissions
 
 
 
 
 
 
13
  RUN chmod +x start.sh
14
 
15
  # Expose port
16
- EXPOSE 7860
17
 
18
  # Run start script
19
  CMD ["sh", "./start.sh"]
 
9
  # Install dependencies
10
  RUN yarn install
11
 
12
+ # Create and set permissions for users.json and users directory
13
+ RUN touch users.json && \
14
+ chmod 666 users.json && \
15
+ mkdir -p users && \
16
+ chmod 777 users
17
+
18
+ # Ensure start.sh is executable
19
  RUN chmod +x start.sh
20
 
21
  # Expose port
22
+ EXPOSE 3000
23
 
24
  # Run start script
25
  CMD ["sh", "./start.sh"]