change chat gpt provider (#12)

This commit is contained in:
Dmitry Afanasyev
2023-09-26 19:15:13 +03:00
committed by GitHub
parent 665bb51c0c
commit d6afab4ee4
145 changed files with 6146 additions and 7652 deletions

View File

@@ -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"]