Revise Europa Docs - Core Concepts - It all starts with a plan

Thank you Tanguy for the "fresh pair of eyes" perspective.

Thank you Tom for the link suggestions.

Supersedes https://github.com/dagger/dagger/pull/1847

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
This commit is contained in:
Gerhard Lazu
2022-03-25 14:25:01 +00:00
parent 2018ac99f0
commit 5fe04d22e9
3 changed files with 87 additions and 43 deletions

View File

@@ -1,4 +1,4 @@
package netlify
package todoapp
import (
"dagger.io/dagger"
@@ -23,12 +23,12 @@ dagger.#Plan & {
contents: dagger.#FS
exclude: [
"README.md",
"build",
"netlify.cue",
"_build",
"todoapp.cue",
"node_modules",
]
}
build: write: contents: actions.build.contents.output
"./_build": write: contents: actions.build.contents.output
}
env: {
APP_NAME: string
@@ -50,8 +50,6 @@ dagger.#Plan & {
contents: client.filesystem.".".read.contents
dest: "/src"
},
// bash.#Run is a superset of docker.#Run
// install yarn dependencies
bash.#Run & {
workdir: "/src"
mounts: {