mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Remove note on OSS/non-OSS issue (#5474)
I successfully deployed this example with `now` and `now --public` (I am on premium plan). Did this before deploy ```sh $ cp Dockerfile.multistage Dockerfile ```
This commit is contained in:
parent
829f4e581c
commit
9634bad79d
|
@ -47,12 +47,10 @@ Deploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit.
|
|||
now --docker -e API_URL="https://example.com"
|
||||
```
|
||||
|
||||
>*Note: Multi-stage only works in OSS plan. [\[#962\]](https://github.com/zeit/now-cli/issues/962#issuecomment-383860104)*
|
||||
|
||||
## The idea behind the example
|
||||
|
||||
This example show how to set custom environment variables for your __docker application__ at runtime.
|
||||
|
||||
The `dockerfile` is the simplest way to run Next.js app in docker, and the size of output image is `173MB`. However, for an even smaller build, you can do multi-stage builds with `dockerfile.multistage`. The size of output image is `85MB`.
|
||||
|
||||
You can check the [Example Dockerfile for your own Node.js project](https://github.com/mhart/alpine-node/tree/43ca9e4bc97af3b1f124d27a2cee002d5f7d1b32#example-dockerfile-for-your-own-nodejs-project) section in [mhart/alpine-node](https://github.com/mhart/alpine-node) for more details.
|
||||
You can check the [Example Dockerfile for your own Node.js project](https://github.com/mhart/alpine-node/tree/43ca9e4bc97af3b1f124d27a2cee002d5f7d1b32#example-dockerfile-for-your-own-nodejs-project) section in [mhart/alpine-node](https://github.com/mhart/alpine-node) for more details.
|
||||
|
|
Loading…
Reference in a new issue