huodon commited on
Commit
80b9899
·
1 Parent(s): 6d4a2c1

WTF langgraph

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -13
Dockerfile CHANGED
@@ -13,22 +13,11 @@ COPY dist ./dist
13
  COPY package.json ./
14
  COPY langgraph.json ./
15
 
16
- # Create an empty .gitignore file
17
- RUN touch .gitignore
18
-
19
  # Install dependencies using pnpm
20
  RUN pnpm install
21
 
22
- # Create a non-root user for security
23
- RUN groupadd -r appuser && useradd -r -g appuser appuser
24
-
25
- # Change ownership before switching user
26
- RUN chown -R appuser:appuser /app
27
-
28
- # Make sure .gitignore is writable
29
- RUN chmod 664 /app/.gitignore
30
-
31
- USER appuser
32
 
33
  # Expose the port
34
  EXPOSE 7860
 
13
  COPY package.json ./
14
  COPY langgraph.json ./
15
 
 
 
 
16
  # Install dependencies using pnpm
17
  RUN pnpm install
18
 
19
+ # Create an empty .gitignore file with proper permissions
20
+ RUN touch .gitignore && chmod 666 .gitignore
 
 
 
 
 
 
 
 
21
 
22
  # Expose the port
23
  EXPOSE 7860