|
# FROM python:3.9-slim-buster |
|
|
|
# RUN apt-get update && \ |
|
|
|
|
|
# RUN git clone https://github.com/jtsang4/claude-to-chatgpt.git /app |
|
|
|
# WORKDIR /app |
|
|
|
# |
|
# ENV CLAUDE_BASE_URL="https://api.anthropic.com" |
|
# ENV LOG_LEVEL="info" |
|
# ENV PORT="7860" |
|
|
|
# |
|
# |
|
# RUN pip install --user poetry |
|
|
|
# |
|
# EXPOSE 7860 |
|
|
|
# ENV PATH="/root/.local/bin:$PATH" |
|
|
|
# RUN poetry install --only main && \ |
|
|
|
|
|
|
|
# |
|
# CMD ["poetry", "run", "python", "claude_to_chatgpt/app.py"] |
|
|
|
FROM wtzeng:claude-to-chatgpt:latest |
|
|
|
WORKDIR /app |
|
|
|
EXPOSE 7860 |
|
|
|
ENV PORT="7860" |
|
|
|
CMD ["poetry", "run", "python", "claude_to_chatgpt/app.py"] |