Skip to content

Commit

Permalink
fix docker build nodejs dependency (#1765)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Aug 30, 2023
1 parent 3b49a64 commit 64cf3d4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,19 @@ RUN chmod +x /usr/local/bin/wait
RUN mkdir -p /usr/src
RUN git clone --depth $app_git_depth --branch $app_git_tag $app_git_url /usr/src/app

# Set up apt repositories
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -

# Install system dependencies
RUN apt-get update && \
apt-get install -y apt-utils gcc ldap-utils libldap2-dev libsasl2-dev \
make postgresql-client wget
make postgresql-client wget nodejs

# Install Python dependencies
RUN cd /usr/src/app && \
pip install --no-cache-dir -r requirements/production.txt && \
pip install --no-cache-dir -r requirements/local.txt

# Install modern nodejs
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install nodejs

# Install npm dependencies
RUN cd /usr/src/app/samplesheets/vueapp && \
mkdir -p /usr/src/app/samplesheets/vueapp/dist && \
Expand Down

0 comments on commit 64cf3d4

Please sign in to comment.