Skip to content
Snippets Groups Projects
Commit bbf878c9 authored by Marco Kuhlmann's avatar Marco Kuhlmann
Browse files

Add a devcontainer setup

parent 1ddafa21
No related branches found
No related tags found
No related merge requests found
FROM python:3.12-slim
RUN apt-get update && \
apt-get upgrade -y && \
rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
{
"name": "TDDE09",
"build": {
"context": "..",
"dockerfile": "Dockerfile"
},
"hostRequirements": {
"gpu": "optional"
},
"features": {
"ghcr.io/devcontainers/features/common-utils": {
"configureZshAsDefaultShell": true
},
"ghcr.io/devcontainers/features/git:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"charliermarsh.ruff",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-toolsai.jupyter"
],
"settings": {
"python.defaultInterpreterPath": "/usr/local/bin/python",
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff"
}
}
}
}
}
\ No newline at end of file
jupyter>=1.1.1
matplotlib>=3.9.0
nb-clean>=4.0.0
nb-filter-cells>=0.0.2
numpy>=2.1.3
torch>=2.5.0
tqdm>=4.66.0
transformers>=4.46.0
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment