|
|
|
@ -1,9 +1,4 @@
@@ -1,9 +1,4 @@
|
|
|
|
|
FROM node:alpine as builder |
|
|
|
|
|
|
|
|
|
RUN apk add yarn \ |
|
|
|
|
python \ |
|
|
|
|
make \ |
|
|
|
|
g++ |
|
|
|
|
FROM node:10 as builder |
|
|
|
|
|
|
|
|
|
WORKDIR /app/ |
|
|
|
|
|
|
|
|
@ -11,7 +6,7 @@ COPY package.json yarn.lock /app/
@@ -11,7 +6,7 @@ COPY package.json yarn.lock /app/
|
|
|
|
|
RUN yarn install --frozen-lockfile |
|
|
|
|
|
|
|
|
|
COPY tslint.json /app |
|
|
|
|
COPY app/ /app/app |
|
|
|
|
COPY client/ /app/client |
|
|
|
|
COPY common/ /app/common |
|
|
|
|
COPY server/ /app/server |
|
|
|
|
|
|
|
|
@ -19,7 +14,7 @@ RUN yarn build
@@ -19,7 +14,7 @@ RUN yarn build
|
|
|
|
|
|
|
|
|
|
RUN yarn install --frozen-lockfile --production |
|
|
|
|
|
|
|
|
|
FROM node:alpine |
|
|
|
|
FROM node:10 |
|
|
|
|
|
|
|
|
|
WORKDIR /app/ |
|
|
|
|
|
|
|
|
|