Fixed Docker to use stretch image and not fail build
This commit is contained in:
parent
5267f77e8a
commit
c33e38dfbb
11
Dockerfile
11
Dockerfile
@ -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/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user