Skip to content

Commit

Permalink
add docker devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsmaerten committed Sep 18, 2020
1 parent 8a9dab0 commit cd57c6b
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile
@@ -0,0 +1,3 @@
FROM node:8
RUN npm install -g typescript@2.9.2
RUN npm install -g firebase-tools@8.10.0
29 changes: 29 additions & 0 deletions .devcontainer/devcontainer.json
@@ -0,0 +1,29 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.140.1/containers/typescript-node
{
"name": "Peppermint Container",
"build": {
"dockerfile": "Dockerfile"
},

// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"dbaeumer.vscode-eslint",
"ms-vscode.vscode-typescript-tslint-plugin"
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "npm i",

// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "node"
}

0 comments on commit cd57c6b

Please sign in to comment.