forked from chocolatey/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
6 changed files
with
164 additions
and
109 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,42 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/withastro/astro/blob/main/.devcontainer/with-mdx/devcontainer.json | ||
{ | ||
"name": "Astro", | ||
|
||
"build": { | ||
"dockerfile": "../Dockerfile" | ||
}, | ||
|
||
"portsAttributes": { | ||
"5086": { | ||
"label": "Application", | ||
"onAutoForward": "openPreview" | ||
} | ||
}, | ||
|
||
"forwardPorts": [5086], | ||
|
||
"postAttachCommand": "yarn dev", | ||
|
||
"customizations": { | ||
"codespaces": { | ||
"openFiles": ["README.md"] | ||
}, | ||
"vscode": { | ||
"extensions": [ | ||
"ms-dotnettools.csharp", | ||
"DavidAnson.vscode-markdownlint", | ||
"shardulm94.trailing-spaces", | ||
"nhoizey.gremlins", | ||
"streetsidesoftware.code-spell-checker", | ||
"bierner.emojisense", | ||
"astro-build.astro-vscode", | ||
"esbenp.prettier-vscode", | ||
"unifiedjs.vscode-mdx", | ||
"ms-vscode.vscode-typescript-next", | ||
"dbaeumer.vscode-eslint" | ||
] | ||
} | ||
}, | ||
"remoteUser": "node" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM node:lts | ||
WORKDIR /app | ||
|
||
COPY package.json yarn.lock ./ | ||
|
||
COPY . . | ||
|
||
RUN corepack enable | ||
|
||
EXPOSE 5086 | ||
|
||
CMD [ "yarn", "dev" ] |
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
Oops, something went wrong.