SimFG commited on
Commit
0f25075
·
1 Parent(s): 9eb8d33

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -20,15 +20,13 @@ RUN pip install --user poetry
20
 
21
  RUN id
22
 
23
- RUN mkdir -p /.cache && \
24
- chmod -R 777 /.cache /root/.local && \
25
- chown -R 1000:0 /root/.local
26
-
27
  # Expose the port the app runs on
28
  EXPOSE 7860
29
 
30
  RUN /root/.local/bin/poetry install --only main
31
 
 
 
32
  USER root
33
  # Set the command to run the application
34
  CMD id && /root/.local/bin/poetry run python claude_to_chatgpt/app.py
 
20
 
21
  RUN id
22
 
 
 
 
 
23
  # Expose the port the app runs on
24
  EXPOSE 7860
25
 
26
  RUN /root/.local/bin/poetry install --only main
27
 
28
+ RUN chown -R 1000:0 /root/.local
29
+
30
  USER root
31
  # Set the command to run the application
32
  CMD id && /root/.local/bin/poetry run python claude_to_chatgpt/app.py