Update devcontainer config to work on Fedora
Fedora uses SELinux. Also I needed to explicitly expose the ports.
This commit is contained in:
parent
f11e8bf766
commit
944d7668f6
@ -7,6 +7,8 @@
|
|||||||
"context": "..",
|
"context": "..",
|
||||||
"args": { "VARIANT": "jammy" }
|
"args": { "VARIANT": "jammy" }
|
||||||
},
|
},
|
||||||
|
"workspaceMount": "",
|
||||||
|
"runArgs": ["--volume=${localWorkspaceFolder}:/workspaces/${localWorkspaceFolderBasename}:Z"],
|
||||||
|
|
||||||
// Configure tool-specific properties.
|
// Configure tool-specific properties.
|
||||||
"customizations": {
|
"customizations": {
|
||||||
@ -38,8 +40,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
"forwardPorts": [5901, 6080],
|
||||||
// "forwardPorts": [],
|
|
||||||
|
|
||||||
// Use 'postCreateCommand' to run commands after the container is created.
|
// Use 'postCreateCommand' to run commands after the container is created.
|
||||||
"postCreateCommand": "pipx install poetry && poetry config virtualenvs.in-project true && poetry install",
|
"postCreateCommand": "pipx install poetry && poetry config virtualenvs.in-project true && poetry install",
|
||||||
|
Loading…
Reference in New Issue
Block a user