Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,8 @@ jobs:
executor: gcp/default
steps:
- checkout
- setup_remote_docker
- setup_remote_docker:
docker_layer_caching: true
- gcp/install
- gcp/initialize
- run:
Expand Down
7 changes: 6 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Dockerfile
node_modules
packages/**/node_modules
packages/**/node_modules
.git
.github
.vscode
*.md
.circleci
14 changes: 10 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@ FROM node:10-alpine

WORKDIR /app

RUN apk add --virtual .build-deps git python g++ bash make

COPY package.json .
COPY yarn.lock .

RUN yarn

COPY . .
RUN yarn
RUN yarn build

RUN apk add --no-cache --virtual .build-deps git python g++ bash make && \
yarn && \
yarn build && \
apk del .build-deps
RUN apk del .build-deps