mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-21 11:12:27 -05:00
37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"name": "manyfold Development Container",
|
|
"image": "ghcr.io/rails/devcontainer/images/ruby:3.4.8",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"version": "22"
|
|
},
|
|
"ghcr.io/rails/devcontainer/features/activestorage": {},
|
|
"ghcr.io/itsmechlark/features/redis-server:1": {}
|
|
},
|
|
"postCreateCommand": "sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install libpq-dev libmariadb-dev libarchive13 -y && export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 && corepack enable && bundle install && yarn install",
|
|
"postStartCommand": "bash ./bin/dev",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode",
|
|
"Shopify.ruby-lsp"
|
|
]
|
|
}
|
|
},
|
|
"containerEnv": {
|
|
"SHELL": "/bin/bash",
|
|
"RAILS_ENV": "development",
|
|
"NODE_ENV": "development"
|
|
},
|
|
"forwardPorts": [
|
|
3214
|
|
],
|
|
"portsAttributes": {
|
|
"3214": {
|
|
"label": "Rails Server",
|
|
"onAutoForward": "notify"
|
|
}
|
|
}
|
|
}
|