diff --git a/samples/flask-railpack/flask/.dockerignore b/samples/flask-railpack/flask/.dockerignore new file mode 100644 index 000000000..74a7bf9e0 --- /dev/null +++ b/samples/flask-railpack/flask/.dockerignore @@ -0,0 +1,27 @@ +# Default .dockerignore file for Defang +**/__pycache__ +**/.direnv +**/.DS_Store +**/.envrc +**/.git +**/.github +**/.idea +**/.next +**/.vscode +**/compose.*.yaml +**/compose.*.yml +**/compose.yaml +**/compose.yml +**/docker-compose.*.yaml +**/docker-compose.*.yml +**/docker-compose.yaml +**/docker-compose.yml +**/node_modules +**/Thumbs.db +Dockerfile +*.Dockerfile +# Ignore our own binary, but only in the root to avoid ignoring subfolders +defang +defang.exe +# Ignore our project-level state +.defang \ No newline at end of file diff --git a/samples/flask-railpack/flask/cloudbuild.yaml b/samples/flask-railpack/flask/cloudbuild.yaml deleted file mode 100644 index 1eb27d01f..000000000 --- a/samples/flask-railpack/flask/cloudbuild.yaml +++ /dev/null @@ -1,16 +0,0 @@ -steps: - # Make the railpack plan - - name: 'gcr.io/cloudbuildtest-468719/railpack' - script: | - #!/usr/bin/env bash - railpack prepare \. --plan-out /workspace/railpack-plan.json --info-out /workspace/railpack-info.json - - # Docker build and push - - name: 'gcr.io/cloudbuildtest-468719/railpack' - script: | - #!/usr/bin/env bash - docker buildx create --use --driver=docker-container - docker buildx build -t gcr.io/cloudbuildtest-468719/railpack-flask --build-arg BUILDKIT_SYNTAX="ghcr.io/railwayapp/railpack-frontend" -f /workspace/railpack-plan.json --output type=docker,name=railpack-flask \. - automapSubstitutions: true -images: -- 'gcr.io/cloudbuildtest-468719/railpack-flask:latest' \ No newline at end of file diff --git a/samples/flask/flask/.dockerignore b/samples/flask/flask/.dockerignore new file mode 100644 index 000000000..74a7bf9e0 --- /dev/null +++ b/samples/flask/flask/.dockerignore @@ -0,0 +1,27 @@ +# Default .dockerignore file for Defang +**/__pycache__ +**/.direnv +**/.DS_Store +**/.envrc +**/.git +**/.github +**/.idea +**/.next +**/.vscode +**/compose.*.yaml +**/compose.*.yml +**/compose.yaml +**/compose.yml +**/docker-compose.*.yaml +**/docker-compose.*.yml +**/docker-compose.yaml +**/docker-compose.yml +**/node_modules +**/Thumbs.db +Dockerfile +*.Dockerfile +# Ignore our own binary, but only in the root to avoid ignoring subfolders +defang +defang.exe +# Ignore our project-level state +.defang \ No newline at end of file diff --git a/samples/golang-http-form-railpack/app/.dockerignore b/samples/golang-http-form-railpack/app/.dockerignore new file mode 100644 index 000000000..74a7bf9e0 --- /dev/null +++ b/samples/golang-http-form-railpack/app/.dockerignore @@ -0,0 +1,27 @@ +# Default .dockerignore file for Defang +**/__pycache__ +**/.direnv +**/.DS_Store +**/.envrc +**/.git +**/.github +**/.idea +**/.next +**/.vscode +**/compose.*.yaml +**/compose.*.yml +**/compose.yaml +**/compose.yml +**/docker-compose.*.yaml +**/docker-compose.*.yml +**/docker-compose.yaml +**/docker-compose.yml +**/node_modules +**/Thumbs.db +Dockerfile +*.Dockerfile +# Ignore our own binary, but only in the root to avoid ignoring subfolders +defang +defang.exe +# Ignore our project-level state +.defang \ No newline at end of file