Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
@@ -18,15 +18,12 @@ RUN pip install --user poetry
|
|
18 |
|
19 |
# ENV PATH="/root/.local/bin:$PATH"
|
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 |
-
|
29 |
|
30 |
# Set the command to run the application
|
31 |
-
CMD ["/root/.local/bin/poetry", "run", "python", "claude_to_chatgpt/app.py"]
|
32 |
-
# CMD /root/.local/bin/poetry run python claude_to_chatgpt/app.py
|
|
|
18 |
|
19 |
# ENV PATH="/root/.local/bin:$PATH"
|
20 |
|
|
|
|
|
21 |
# Expose the port the app runs on
|
22 |
EXPOSE 7860
|
23 |
|
24 |
RUN /root/.local/bin/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 ["/root/.local/bin/poetry", "run", "python", "claude_to_chatgpt/app.py"]
|
|