зеркало из https://github.com/mozilla/fxa.git
feat(docker): Add fxa-payments-server Docker build
This commit is contained in:
Родитель
ba022306f3
Коммит
b7bf601748
|
@ -308,6 +308,11 @@ workflows:
|
|||
module: fxa-oauth-console
|
||||
requires:
|
||||
- install
|
||||
- build-module:
|
||||
name: fxa-payments-server
|
||||
module: fxa-payments-server
|
||||
requires:
|
||||
- install
|
||||
- build-module:
|
||||
name: fxa-profile-server
|
||||
module: fxa-profile-server
|
||||
|
@ -429,6 +434,16 @@ workflows:
|
|||
module: fxa-oauth-console
|
||||
requires:
|
||||
- install
|
||||
- deploy-module:
|
||||
filters:
|
||||
tags:
|
||||
only: /.*/
|
||||
branches:
|
||||
ignore: /.*/
|
||||
name: fxa-payments-server
|
||||
module: fxa-payments-server
|
||||
requires:
|
||||
- install
|
||||
- deploy-module:
|
||||
filters:
|
||||
tags:
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
FROM node:12 AS node-builder
|
||||
USER node
|
||||
RUN mkdir /home/node/fxa-payments-server
|
||||
WORKDIR /home/node/fxa-payments-server
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
|
||||
FROM node:12-slim
|
||||
USER node
|
||||
RUN mkdir /home/node/fxa-payments-server
|
||||
WORKDIR /home/node/fxa-payments-server
|
||||
COPY --chown=node:node --from=node-builder /home/node/fxa-payments-server .
|
||||
COPY --chown=node:node . .
|
Загрузка…
Ссылка в новой задаче