Skip to content

Commit

Permalink
upgrade dependencies for docker builds (alpine's nodejs does not emba…
Browse files Browse the repository at this point in the history
…rk npm anymore
  • Loading branch information
boogheta committed Jan 18, 2019
1 parent 7c2e2e7 commit 5c14727
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ENV PYTHONPATH $PYTHONPATH:/app
COPY requirements.txt /app/requirements.txt

RUN apk --update add gcc git musl-dev libxml2-dev libxslt-dev libffi-dev openssl-dev \
&& pip install --upgrade setuptools pip \
&& pip install --no-cache-dir --requirement /app/requirements.txt \
&& pip install --no-cache-dir Scrapy==0.24.6 \
&& apk del gcc git musl-dev \
Expand Down
2 changes: 1 addition & 1 deletion hyphe_frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY . /frontend/

WORKDIR /frontend

RUN apk --update add git nodejs \
RUN apk --update add git nodejs nodejs-npm \
&& npm install \
&& npm run build \
&& npm cache clean --force \
Expand Down

0 comments on commit 5c14727

Please sign in to comment.