add proper poetry install into p3.11 virtualenv
This commit is contained in:
parent
fa8a259907
commit
b41022dbff
|
@ -67,7 +67,10 @@ COPY ./_confs/* ./
|
||||||
# Set the working directory for installing dependencies
|
# Set the working directory for installing dependencies
|
||||||
WORKDIR /home/user/fapi
|
WORKDIR /home/user/fapi
|
||||||
|
|
||||||
RUN bash -i -c "source ~/.bashrc && poetry config virtualenvs.create false && poetry install"
|
# Install project dependencies with Poetry in the p3.11 environment
|
||||||
|
RUN bash -i -c "source ~/.bashrc && pyenv activate p3.11 && poetry install"
|
||||||
|
|
||||||
|
#RUN bash -i -c "source ~/.bashrc && poetry config virtualenvs.create false && poetry install"
|
||||||
|
|
||||||
# Copy the .vimrc file
|
# Copy the .vimrc file
|
||||||
#COPY --chown=user:user .vimrc /home/user/.vimrc
|
#COPY --chown=user:user .vimrc /home/user/.vimrc
|
||||||
|
|
|
@ -9,7 +9,7 @@ engine = create_engine(
|
||||||
)
|
)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
SQLALCHEMY_DATABASE_URL = "mysql+mysqlconnector://root:secret@qstack.pl:3306/mpabi" # Przykład dla MySQL
|
SQLALCHEMY_DATABASE_URL = "mysql+mysqlconnector://root:secret@172.18.0.2:3306/test" # Przykład dla MySQL
|
||||||
engine = create_engine(
|
engine = create_engine(
|
||||||
SQLALCHEMY_DATABASE_URL,
|
SQLALCHEMY_DATABASE_URL,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue