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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
7 changes: 5 additions & 2 deletions now.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "react-server-example-tsx",
"alias": "react-tsx.now.sh",
"type": "docker",
"features": {
"cloud": "v2"
},
"env": {
"NODE_ENV": "production"
}
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down