Skip to content

Commit 410828a

Browse files
authored
Merge pull request #115 from styfle/now-v2
Update zeit now cloud to v2
2 parents 283c5c3 + e59ae1f commit 410828a

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mhart/alpine-node:8.11.3 as build
1+
FROM mhart/alpine-node:8.11.4 as build
22
WORKDIR /usr/app
33
COPY . .
44
RUN npm install --only=production
@@ -7,7 +7,7 @@ RUN npm install
77
ENV NODE_ENV production
88
RUN npm run build
99

10-
FROM mhart/alpine-node:base-8.11.3
10+
FROM mhart/alpine-node:base-8.11.4
1111
WORKDIR /usr/app
1212
ENV NODE_ENV production
1313
COPY --from=build /usr/app/prod_modules ./node_modules

now.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"name": "react-server-example-tsx",
33
"alias": "react-tsx.now.sh",
44
"type": "docker",
5+
"features": {
6+
"cloud": "v2"
7+
},
58
"env": {
69
"NODE_ENV": "production"
7-
}
8-
}
10+
}
11+
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"prettier": "prettier \"./src/**/*.ts\" \"./src/**/*.tsx\" --write",
1212
"test": "tsc --outDir . --sourceMap false && tape tests/**/*.js",
1313
"release": "npm version patch && git push --follow-tags && npm publish",
14-
"deploy": "now --docker --public && now alias"
14+
"deploy": "now --public && now alias"
1515
},
1616
"license": "MIT",
1717
"dependencies": {

0 commit comments

Comments
 (0)