diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..4995abb --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See LICENSE in the project root for license information. +#----------------------------------------------------------------------------------------- + +FROM node:10 + +# Install the dependencies +RUN npm install + +# Verify git and process tools are installed +RUN apt-get install -y git procps + +# ENV [set them here from the host] + +# Set the default shell to bash rather than sh +ENV SHELL /bin/bash \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..5c2dd3b --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,9 @@ +{ + "name": "MemeBot", + "dockerFile": "Dockerfile", + // "appPort": 3000, + "extensions": [ + "dbaeumer.vscode-eslint" + ], + "postCreateCommand": "npm install" +} \ No newline at end of file