File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM python:3.11-slim-bullseye
2+
3+ # Install pipenv
4+ RUN pip install --no-cache-dir pipenv
5+
6+ # Install curl & git
7+ RUN apt update \ && apt install -y \
8+ curl \
9+ git \
10+ && rm -rf /var/lib/apt/lists/*
11+
12+ # Install Node.js
13+ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash \
14+ && export NVM_DIR="$HOME/.nvm" \
15+ && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" \
16+ && nvm install 20
Original file line number Diff line number Diff line change 1+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+ // README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
3+ {
4+ "name" : " Dev Container" ,
5+ "build" : {
6+ // Sets the run context to one level up instead of the .devcontainer folder.
7+ "context" : " .." ,
8+ // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
9+ "dockerfile" : " ./Dockerfile"
10+ },
11+
12+ // Features to add to the dev container. More info: https://containers.dev/features.
13+ // "features": {},
14+
15+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
16+ "forwardPorts" : [
17+ 8080
18+ ],
19+
20+ // Uncomment the next line to run commands after the container is created.
21+ // "postCreateCommand": "cat /etc/os-release",
22+
23+ // Configure tool-specific properties.
24+ "customizations" : {
25+ "vscode" : {
26+ "extensions" : [
27+ " ms-python.python" ,
28+ " ms-azuretools.vscode-docker" ,
29+ " ms-python.black-formatter" ,
30+ " esbenp.prettier-vscode" ,
31+ " Vue.volar"
32+ ]
33+ }
34+ }
35+
36+ // Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
37+ // "remoteUser": "devcontainer"
38+ }
You can’t perform that action at this time.
0 commit comments