Commit ef359fe
authored
Compact dockerfile (#1202)
feat(docker): default to multi-stage Dockerfile and enable production mode
The `add_dockerfile_with_renv_*` function now:
- generates a multi-stage Dockerfile by default (`single_file = FALSE`)
- sets `golem.app.prod = TRUE` by default (`set_golem.app.prod = FALSE`)
BREAKING CHANGE:
- Default of `single_file` changed from `TRUE` to `FALSE`
- Default of `set_golem.app.prod` changed from `FALSE` to `TRUE`
* Update DESCRIPTION
bump version1 parent 00fc0e2 commit ef359fe
File tree
5 files changed
+246
-276
lines changed- R
- man
- tests/testthat
5 files changed
+246
-276
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
5 | 12 | | |
6 | 13 | | |
7 | 14 | | |
| |||
0 commit comments