Fixed Docker to use stretch image and not fail build

This commit is contained in:
Alex Mikhalev 2018-12-06 15:28:35 -08:00
parent 5267f77e8a
commit c33e38dfbb
2 changed files with 4 additions and 14 deletions

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

@ -1,9 +1,4 @@
FROM node:alpine FROM node:10
RUN apk add yarn \
python \
make \
g++
WORKDIR /app/ WORKDIR /app/