Skip to content

Commit

Permalink
fix Dockerfile for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbiundo committed Oct 18, 2019
1 parent d472867 commit dc7b0a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,15 @@ RUN npm run -s lint:src && npm run -s lint:test
FROM node:carbon-alpine as tester
WORKDIR /nestjs/schematics
COPY --from=linter /nestjs/schematics .
COPY tools tools
COPY gulpfile.js gulpfile.js
RUN npm test -s

FROM node:carbon-alpine as builder
WORKDIR /nestjs/schematics
COPY --from=tester /nestjs/schematics .
COPY tsconfig.lib.json tsconfig.lib.json
COPY tsconfig.utils.json tsconfig.utils.json
RUN npm run -s build

FROM node:carbon-alpine
Expand Down

0 comments on commit dc7b0a6

Please sign in to comment.