Skip to content

Commit

Permalink
devcontainer config
Browse files Browse the repository at this point in the history
  • Loading branch information
bandinopla committed Jul 10, 2024
1 parent db53b0b commit 27b42ea
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 24,776 deletions.
27 changes: 27 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "WeightForReps-FrontEndDev",
"image": "mcr.microsoft.com/devcontainers/javascript-node:14", //<-- because the current server has node 14...
"hostRequirements": {
"cpus": 4
},
"waitFor": "onCreateCommand",
"updateContentCommand": "npm install",
"postCreateCommand": "",
"postAttachCommand": {
"server": "npm run start:production" //<-- points to the backend's endpoint that is running in production.
},
"customizations": {
"codespaces": {
"openFiles": [
"src/App.js"
]
}
},
"portsAttributes": {
"3000": {
"label": "Application",
"onAutoForward": "openBrowser"
}
},
"forwardPorts": [3000]
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
Loading

0 comments on commit 27b42ea

Please sign in to comment.