SimFG commited on
Commit
be27241
·
1 Parent(s): dbb95c1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -16,8 +16,6 @@ ENV PORT="7860"
16
  # RUN pip install --user poetry tiktoken==0.4.0 fastapi==0.95.1 uvicorn==0.22.0 httpx==0.24.0 socksio==1.0.0
17
  RUN pip install --user poetry
18
 
19
- ENV PATH="/root/.local/bin:$PATH"
20
-
21
  # Expose the port the app runs on
22
  EXPOSE 7860
23
 
@@ -25,5 +23,9 @@ RUN poetry install --only main
25
 
26
  RUN chown -R 1000:0 /root/.local/bin/poetry
27
 
 
 
 
 
28
  # Set the command to run the application
29
  CMD ["poetry", "run", "python", "claude_to_chatgpt/app.py"]
 
16
  # RUN pip install --user poetry tiktoken==0.4.0 fastapi==0.95.1 uvicorn==0.22.0 httpx==0.24.0 socksio==1.0.0
17
  RUN pip install --user poetry
18
 
 
 
19
  # Expose the port the app runs on
20
  EXPOSE 7860
21
 
 
23
 
24
  RUN chown -R 1000:0 /root/.local/bin/poetry
25
 
26
+ RUN python3 -m pip install --upgrade pip
27
+
28
+ ENV PATH="/root/.local/bin:$PATH"
29
+
30
  # Set the command to run the application
31
  CMD ["poetry", "run", "python", "claude_to_chatgpt/app.py"]