mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-12-15 16:10:39 +03:00
fix setuptools issue for python3.12 (#67)
* fix setuptools issue for python3.12 * one test file fot tests and ci
This commit is contained in:
@@ -59,7 +59,9 @@ COPY ./scripts/start-bot.sh /app/
|
||||
RUN chmod +x ./start-bot.sh
|
||||
|
||||
COPY --from=compile-image /app/.venv /app/.venv
|
||||
ENV PATH="/app/.venv/bin:$PATH"
|
||||
|
||||
# workarroud fo python3.12 and setuptools not found for fastapi users
|
||||
RUN pip3 uninstall -y setuptools && pip3 install --upgrade setuptools wheel
|
||||
|
||||
USER ${USER}
|
||||
|
||||
ENV PATH="/app/.venv/bin:$PATH"
|
||||
|
||||
Reference in New Issue
Block a user