Merge pull request #1860 from gerhard/europa-docs-plan-tanguy-fresh-pair-of-eyes

This commit is contained in:
Solomon Hykes
2022-03-26 12:45:13 -07:00
committed by GitHub
5 changed files with 107 additions and 66 deletions

View File

@@ -1 +1 @@
build
_build

View File

@@ -1,4 +1,4 @@
package netlify
package todoapp
import (
"dagger.io/dagger"
@@ -19,16 +19,16 @@ dagger.#Plan & {
}
client: {
filesystem: {
".": read: {
"./": read: {
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
@@ -47,11 +47,9 @@ dagger.#Plan & {
}
},
docker.#Copy & {
contents: client.filesystem.".".read.contents
contents: client.filesystem."./".read.contents
dest: "/src"
},
// bash.#Run is a superset of docker.#Run
// install yarn dependencies
bash.#Run & {
workdir: "/src"
mounts: {