-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0bfe328
commit 2e33d73
Showing
7 changed files
with
104 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ARG VARIANT=20-bullseye | ||
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} | ||
|
||
RUN npm install -g pnpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "LP2", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
|
||
"postCreateCommand": "pnpm install", | ||
|
||
"waitFor": "postCreateCommand", | ||
|
||
"postAttachCommand": { | ||
"Astro dev": "pnpm run dev" | ||
}, | ||
|
||
"customizations": { | ||
"codespaces": { | ||
"openFiles": ["./src/pages/index.mdx"] | ||
}, | ||
"vscode": { | ||
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"name": "Invest App Auth", | ||
"build": { | ||
"dockerfile": "../Dockerfile", | ||
"args": { | ||
"VARIANT": "20-bullseye" | ||
} | ||
}, | ||
|
||
"workspaceFolder": "/workspaces/lp2/public/codes/expressjs/invest-app-auth", | ||
|
||
"portsAttributes": { | ||
"3000": { | ||
"label": "Application", | ||
"onAutoForward": "openPreview" | ||
} | ||
}, | ||
|
||
"forwardPorts": [3000], | ||
|
||
"postCreateCommand": "pnpm install && cd /workspaces/lp2/public/codes/expressjs/invest-app-auth && pnpm run dev", | ||
|
||
"waitFor": "postCreateCommand", | ||
|
||
"postAttachCommand": { | ||
"Server": "pnpm start --host" | ||
}, | ||
|
||
"customizations": { | ||
"codespaces": { | ||
"openFiles": ["src/index.js"] | ||
}, | ||
"vscode": { | ||
"extensions": ["esbenp.prettier-vscode"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"name": "Invest App MVC", | ||
"build": { | ||
"dockerfile": "../Dockerfile", | ||
"args": { | ||
"VARIANT": "20-bullseye" | ||
} | ||
}, | ||
|
||
"workspaceFolder": "/workspaces/lp2/public/codes/expressjs/invest-app-mvc", | ||
|
||
"portsAttributes": { | ||
"3000": { | ||
"label": "Application", | ||
"onAutoForward": "openPreview" | ||
} | ||
}, | ||
|
||
"forwardPorts": [3000], | ||
|
||
"postCreateCommand": "pnpm install", | ||
|
||
"waitFor": "postCreateCommand", | ||
|
||
"postAttachCommand": { | ||
"Server": "pnpm start --host" | ||
}, | ||
|
||
"customizations": { | ||
"codespaces": { | ||
"openFiles": ["src/index.js"] | ||
}, | ||
"vscode": { | ||
"extensions": ["esbenp.prettier-vscode"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters