Skip to content

Commit

Permalink
Add devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
mam10eks committed Jul 30, 2024
1 parent b2c33f9 commit 4212946
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"build": {"dockerfile": "Dockerfile.dev"},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-toolsai.jupyter",
"ms-toolsai.datawrangler",
"ms-azuretools.vscode-docker"
]
}
}
}
6 changes: 6 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM webis/ir_axioms:latest

RUN cd /workspace/ && \
rm -R build/ LICENSE README.md ir_axioms* scripts/ tests/ \
&& /venv/bin/pip3 install -e .[test]

0 comments on commit 4212946

Please sign in to comment.