Added npm and py libs to Dockerfile
This commit is contained in:
parent
488daed8b5
commit
5ec3df2ecf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue