mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-12-15 16:10:39 +03:00
change chat gpt provider (#12)
This commit is contained in:
@@ -67,21 +67,21 @@ USER ${USER}
|
||||
ENV PATH="/app/.venv/bin:$PATH"
|
||||
|
||||
|
||||
#===================== chat-service ================================
|
||||
FROM compile-image as chat-service
|
||||
|
||||
RUN printf "================ Start build chat-service. with USER: ${USER} ==============="
|
||||
|
||||
WORKDIR /app/
|
||||
|
||||
# Copying bot service
|
||||
COPY --chown=${USER}:${USER} ../chat_gpt_microservice /app/
|
||||
|
||||
COPY --from=compile-image /app/.venv /app/.venv
|
||||
ENV PATH="/app/.venv/bin:$PATH"
|
||||
|
||||
USER ${USER}
|
||||
|
||||
RUN chmod -R 777 translations
|
||||
|
||||
CMD ["python3", "./run.py"]
|
||||
##===================== chat-service ================================
|
||||
#FROM compile-image as chat-service
|
||||
#
|
||||
#RUN printf "================ Start build chat-service. with USER: ${USER} ==============="
|
||||
#
|
||||
#WORKDIR /app/
|
||||
#
|
||||
## Copying bot service
|
||||
#COPY --chown=${USER}:${USER} ../chat_gpt_microservice /app/
|
||||
#
|
||||
#COPY --from=compile-image /app/.venv /app/.venv
|
||||
#ENV PATH="/app/.venv/bin:$PATH"
|
||||
#
|
||||
#USER ${USER}
|
||||
#
|
||||
#RUN chmod -R 777 translations
|
||||
#
|
||||
#CMD ["python3", "./run.py"]
|
||||
Reference in New Issue
Block a user