Коммит
7dd3b02029
|
@ -36,6 +36,9 @@ before_install:
|
|||
- npm i -g npm@6
|
||||
- npm config set spin false
|
||||
|
||||
install:
|
||||
- npm ci
|
||||
|
||||
script:
|
||||
- if [ $DB == "mysql" ]; then ./scripts/start-travis-auth-db-mysql.sh; fi
|
||||
- npm run test-ci
|
||||
|
|
|
@ -16,7 +16,7 @@ COPY scripts/download_l10n.sh scripts/download_l10n.sh
|
|||
COPY scripts/gen_keys.js scripts/gen_keys.js
|
||||
COPY scripts/gen_vapid_keys.js scripts/gen_vapid_keys.js
|
||||
|
||||
RUN npm install --production && rm -rf ~app/.npm /tmp/*
|
||||
RUN npm ci --production && rm -rf ~app/.npm /tmp/*
|
||||
|
||||
COPY . /app
|
||||
USER root
|
||||
|
|
|
@ -1,2 +1,8 @@
|
|||
FROM fxa-auth-server:build
|
||||
RUN npm install
|
||||
|
||||
USER root
|
||||
RUN rm -rf /app/node_modules
|
||||
RUN rm -rf /app/fxa-content-server-l10n
|
||||
|
||||
USER app
|
||||
RUN npm ci
|
||||
|
|
Загрузка…
Ссылка в новой задаче