зеркало из https://github.com/mozilla/normandy.git
Merge pull request #1120 from mythmon/npm5
Use npm5 and add a lock file.
This commit is contained in:
Коммит
8e46edf8af
|
@ -9,7 +9,7 @@ This guide assumes you have already installed and set up the following:
|
|||
|
||||
1. Git_
|
||||
2. `Python 3.6`_, `pip 8`_ or higher, and virtualenv_
|
||||
3. `Node.js`_ and npm.
|
||||
3. `Node.js 8`_ and NPM 5.
|
||||
4. `Postgres 9.4`_
|
||||
5. ``openssl``
|
||||
|
||||
|
|
|
@ -8,10 +8,10 @@ RUN apt-get update && \
|
|||
|
||||
# Install node from NodeSource
|
||||
RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
|
||||
echo 'deb https://deb.nodesource.com/node_4.x jessie main' > /etc/apt/sources.list.d/nodesource.list && \
|
||||
echo 'deb-src https://deb.nodesource.com/node_4.x jessie main' >> /etc/apt/sources.list.d/nodesource.list && \
|
||||
echo 'deb https://deb.nodesource.com/node_8.x jessie main' > /etc/apt/sources.list.d/nodesource.list && \
|
||||
echo 'deb-src https://deb.nodesource.com/node_8.x jessie main' >> /etc/apt/sources.list.d/nodesource.list && \
|
||||
apt-get update && apt-get install -y nodejs
|
||||
RUN npm install -g npm@3.x.x
|
||||
RUN npm install -g npm@5
|
||||
|
||||
COPY ./requirements /app/requirements
|
||||
COPY ./package.json /app/package.json
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче