From 8b790fe7c5b006b047e3301fb8391eb9af0c4677 Mon Sep 17 00:00:00 2001 From: bennykok Date: Fri, 26 Jan 2024 20:57:21 +0800 Subject: [PATCH] chore: update dev container --- .devcontainer/Dockerfile | 5 +++++ .devcontainer/devcontainer.json | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index b37a79f..81d460f 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -12,6 +12,11 @@ RUN curl -L https://fly.io/install.sh | sh ENV FLYCTL_INSTALL="/root/.fly" ENV PATH="$FLYCTL_INSTALL/bin:$PATH" +RUN sudo apt-get update +RUN sudo apt-get install python3-pip python3 -y + +RUN pip3 install modal + # RUN echo 'export FLYCTL_INSTALL="/home/node/.fly"' >> ~/.bashrc # RUN echo 'export PATH="$FLYCTL_INSTALL/bin:$PATH"' >> ~/.bashrc diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 1e3b6de..4f95ed9 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -14,7 +14,8 @@ "stivo.tailwind-fold", "streetsidesoftware.code-spell-checker", "GitHub.copilot", - "ms-azuretools.vscode-docker" + "ms-azuretools.vscode-docker", + "ms-python.python" ] } }