You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/07/12 14:16:45 UTC

[incubator-apisix-dashboard] branch master updated: fix(deploy): added missing yarn.lock

This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 0c58fce  fix(deploy): added missing yarn.lock
0c58fce is described below

commit 0c58fcec750b48525e5ae86e2a24944f1faa23fd
Author: juzhiyuan <ju...@apache.org>
AuthorDate: Sun Jul 12 22:16:21 2020 +0800

    fix(deploy): added missing yarn.lock
---
 Dockerfile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 72ac8d3..8ba7130 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,13 +1,14 @@
 # phase-build
-FROM node:12-alpine as builder
+FROM circleci/node:latest-browsers as builder
 
 WORKDIR /usr/src/app/
 USER root
 
-COPY package.json /usr/src/app/
+COPY package.json ./
+COPY yarn.lock ./
 RUN yarn
 
-COPY . /usr/src/app/
+COPY ./ ./
 RUN yarn build && rm -rf /usr/src/app/node_modules
 
 # phase-run