From cec4274a48fbd9eb9413e554a214e03164efec04 Mon Sep 17 00:00:00 2001 From: Steven Date: Sat, 1 Sep 2018 20:44:51 -0400 Subject: [PATCH 1/3] Bump dockerfile version --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4a5d053e..0a47b37a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mhart/alpine-node:8.11.3 as build +FROM mhart/alpine-node:8.11.4 as build WORKDIR /usr/app COPY . . RUN npm install --only=production @@ -7,7 +7,7 @@ RUN npm install ENV NODE_ENV production RUN npm run build -FROM mhart/alpine-node:base-8.11.3 +FROM mhart/alpine-node:base-8.11.4 WORKDIR /usr/app ENV NODE_ENV production COPY --from=build /usr/app/prod_modules ./node_modules From 2a47af8145c275e79656d271f8bb3dd43b0f1a15 Mon Sep 17 00:00:00 2001 From: Steven Date: Sat, 1 Sep 2018 20:45:15 -0400 Subject: [PATCH 2/3] Remove unused docker flag --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 14e74170..3c0d2b32 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "prettier": "prettier \"./src/**/*.ts\" \"./src/**/*.tsx\" --write", "test": "tsc --outDir . --sourceMap false && tape tests/**/*.js", "release": "npm version patch && git push --follow-tags && npm publish", - "deploy": "now --docker --public && now alias" + "deploy": "now --public && now alias" }, "license": "MIT", "dependencies": { From e59ae1ffb8c4fd6029306195d7b9f09bb4f3d82e Mon Sep 17 00:00:00 2001 From: Steven Date: Sat, 1 Sep 2018 20:46:13 -0400 Subject: [PATCH 3/3] Add now cloud v2 feature --- now.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/now.json b/now.json index 9bffd25b..34d14fca 100644 --- a/now.json +++ b/now.json @@ -2,7 +2,10 @@ "name": "react-server-example-tsx", "alias": "react-tsx.now.sh", "type": "docker", + "features": { + "cloud": "v2" + }, "env": { "NODE_ENV": "production" - } - } + } +} \ No newline at end of file