Update Dockerfile
Browse files- Dockerfile +3 -5
Dockerfile
CHANGED
@@ -21,11 +21,9 @@ EXPOSE 7860
|
|
21 |
|
22 |
ENV PATH="/root/.local/bin:$PATH"
|
23 |
|
24 |
-
RUN poetry install --only main
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
RUN python3 -m pip install --upgrade pip
|
29 |
|
30 |
# Set the command to run the application
|
31 |
CMD ["poetry", "run", "python", "claude_to_chatgpt/app.py"]
|
|
|
21 |
|
22 |
ENV PATH="/root/.local/bin:$PATH"
|
23 |
|
24 |
+
RUN poetry install --only main && \
|
25 |
+
chown -R 1000:0 /root/.local/bin/poetry && \
|
26 |
+
chmod +x claude_to_chatgpt/app.py
|
|
|
|
|
27 |
|
28 |
# Set the command to run the application
|
29 |
CMD ["poetry", "run", "python", "claude_to_chatgpt/app.py"]
|