Title: Build failed : package.json does not exist · Issue #2 · TomDoesTech/caddy-nodejs-docker-tutorial · GitHub
Open Graph Title: Build failed : package.json does not exist · Issue #2 · TomDoesTech/caddy-nodejs-docker-tutorial
X Title: Build failed : package.json does not exist · Issue #2 · TomDoesTech/caddy-nodejs-docker-tutorial
Description: First of all thank you for the tutorial. I'm trying to reproduce your steps with my own git repo but the build won't execute because of this : Step 1/9 : FROM node:14-alpine ---> 33deb4de1d99 Step 2/9 : ADD package.json /tmp/package.json...
Open Graph Description: First of all thank you for the tutorial. I'm trying to reproduce your steps with my own git repo but the build won't execute because of this : Step 1/9 : FROM node:14-alpine ---> 33deb4de1d99 Step ...
X Description: First of all thank you for the tutorial. I'm trying to reproduce your steps with my own git repo but the build won't execute because of this : Step 1/9 : FROM node:14-alpine ---> 33deb4d...
Opengraph URL: https://github.com/TomDoesTech/caddy-nodejs-docker-tutorial/issues/2
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build failed : package.json does not exist","articleBody":"First of all thank you for the tutorial. \r\nI'm trying to reproduce your steps with my own git repo but the build won't execute because of this : \r\n\r\n`Step 1/9 : FROM node:14-alpine\r\n ---\u003e 33deb4de1d99\r\nStep 2/9 : ADD package.json /tmp/package.json\r\nADD failed: file not found in build context or excluded by .dockerignore: stat package.json: file does not exist\r\nERROR: Service 'node-app' failed to build : Build failed\r\n`\r\n\r\nI don't really understand why I've got this problem. \r\nMy app folder on my server is the following : \r\n`\r\nCaddyfile \r\nDockerfile \r\ndeploy.sh \r\ndocker-compose.yml \r\nMyRepoFolder\r\n`\r\nIs the configuration good ? The package.json exist in my git repository. \r\n\r\nThank you","author":{"url":"https://github.com/EzhnoFR","@type":"Person","name":"EzhnoFR"},"datePublished":"2022-10-12T09:21:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/caddy-nodejs-docker-tutorial/issues/2"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a154a2f6-de06-1a05-6006-94846f80613e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ABF4:BA70:39CFF1:50F9ED:698DF87B |
| html-safe-nonce | 38140b2bc5e1ff50e8fd1f85adfd256757e092435714283cbc6f5425d2f933ef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkY0OkJBNzA6MzlDRkYxOjUwRjlFRDo2OThERjg3QiIsInZpc2l0b3JfaWQiOiIzNDcxOTg5OTAxMDExODQzMTk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4cf32615a869f0dffb4155f1b1d6741cc20322fb6d5ffdcae855e728e26a50c2 |
| hovercard-subject-tag | issue:1405869667 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TomDoesTech/caddy-nodejs-docker-tutorial/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d1bef793885a2e518fede0af280f91a1cbad61d0b5f659f693dc3d2b1710dbe8/TomDoesTech/caddy-nodejs-docker-tutorial/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d1bef793885a2e518fede0af280f91a1cbad61d0b5f659f693dc3d2b1710dbe8/TomDoesTech/caddy-nodejs-docker-tutorial/issues/2 |
| og:image:alt | First of all thank you for the tutorial. I'm trying to reproduce your steps with my own git repo but the build won't execute because of this : Step 1/9 : FROM node:14-alpine ---> 33deb4de1d99 Step ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EzhnoFR |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae22ef6ad27c5aeb770c5acd314c5724055bb23a663877aafdaaa50ed317ba34 |
| turbo-cache-control | no-preview |
| go-import | github.com/TomDoesTech/caddy-nodejs-docker-tutorial git https://github.com/TomDoesTech/caddy-nodejs-docker-tutorial.git |
| octolytics-dimension-user_id | 82136854 |
| octolytics-dimension-user_login | TomDoesTech |
| octolytics-dimension-repository_id | 358792269 |
| octolytics-dimension-repository_nwo | TomDoesTech/caddy-nodejs-docker-tutorial |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 358792269 |
| octolytics-dimension-repository_network_root_nwo | TomDoesTech/caddy-nodejs-docker-tutorial |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e545f5becd5b3ce9b429b68c3f994ad93c680ddb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width