Skip to content

Commit

Permalink
add .devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusraupach committed Jan 8, 2025
1 parent b2512d7 commit b8c9d4b
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
services:
python:
build:
context: ./python
dockerfile: Dockerfile
env_file:
- .env
stdin_open: true
tty: true
volumes:
- ..:/workspaces/valheim-dedicated-server
5 changes: 5 additions & 0 deletions .devcontainer/python/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM python:latest

RUN apt-get update && \
apt-get install -y fish && \
chsh -s /bin/fish
18 changes: 18 additions & 0 deletions .devcontainer/python/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"customizations": {
"vscode": {
"extensions": [
"eamodio.gitlens",
"esbenp.prettier-vscode",
"foxundermoon.shell-format",
"GitHub.copilot",
"GitHub.copilot-chat",
"ms-azuretools.vscode-docker"
]
}
},
"dockerComposeFile": "../docker-compose.yml",
"name": "python",
"service": "python",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}"
}

0 comments on commit b8c9d4b

Please sign in to comment.