From 319f14ab31aa20832baa8d4c08912dbf45efd4cd Mon Sep 17 00:00:00 2001 From: VincentHey Date: Mon, 29 Jul 2024 22:31:37 +0000 Subject: [PATCH] rearranged dev container --- {code/.devcontainer => .devcontainer}/devcontainer.json | 4 ++-- {code/.github => .github}/dependabot.yml | 0 requirements.txt => code/requirements.txt | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {code/.devcontainer => .devcontainer}/devcontainer.json (89%) rename {code/.github => .github}/dependabot.yml (100%) rename requirements.txt => code/requirements.txt (100%) diff --git a/code/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json similarity index 89% rename from code/.devcontainer/devcontainer.json rename to .devcontainer/devcontainer.json index 8c6f3fb..9ddc564 100644 --- a/code/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ { "name": "Python 3", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye" + "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye", // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, @@ -13,7 +13,7 @@ // Use 'postCreateCommand' to run commands after the container is created. // "postCreateCommand": "pip3 install --user -r requirements.txt", - + "postCreateCommand": "pip install --upgrade pip && pip3 install --user -r ./code/requirements.txt", // Configure tool-specific properties. // "customizations": {}, diff --git a/code/.github/dependabot.yml b/.github/dependabot.yml similarity index 100% rename from code/.github/dependabot.yml rename to .github/dependabot.yml diff --git a/requirements.txt b/code/requirements.txt similarity index 100% rename from requirements.txt rename to code/requirements.txt