diff --git a/src/Dockerfile b/src/Dockerfile index 9ca02e9..fe46e82 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -9,7 +9,8 @@ RUN apt-get update && apt-get install -y \ ifupdown udev make build-essential libssl-dev zlib1g-dev \ libbz2-dev libreadline-dev libsqlite3-dev wget llvm libncurses5-dev \ libncursesw5-dev xz-utils libffi-dev liblzma-dev \ - sqlite3 default-libmysqlclient-dev pkg-config + sqlite3 default-libmysqlclient-dev pkg-config \ + npm # Set password for root user (optional, for configuration) RUN echo 'root:rootpass' | chpasswd @@ -54,7 +55,10 @@ RUN curl -sSL https://install.python-poetry.org | python3 - ENV PATH="$HOME/.local/bin:$PATH" # Install SQLAlchemy and MySQL adapter in the pyenv environment -RUN bash -i -c "source ~/.bashrc && pyenv activate p3.11 && pip install sqlalchemy mysqlclient" +RUN bash -i -c "source ~/.bashrc && pyenv activate p3.11 && pip install \ + sqlalchemy mysqlclient \ + ipython numpy scipy matplotlib \ + biopython" # Copy the project into the image COPY --chown=user:user . /home/user/fapi