Browse Source

Fixed Docker to use stretch image and not fail build

update-deps
Alex Mikhalev 6 years ago
parent
commit
c33e38dfbb
  1. 11
      Dockerfile
  2. 7
      Dockerfile.dev

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/

7
Dockerfile.dev

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

Loading…
Cancel
Save