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": "..",
|
||||
"args": { "VARIANT": "jammy" }
|
||||
},
|
||||
"workspaceMount": "",
|
||||
"runArgs": ["--volume=${localWorkspaceFolder}:/workspaces/${localWorkspaceFolderBasename}:Z"],
|
||||
|
||||
// Configure tool-specific properties.
|
||||
"customizations": {
|
||||
@ -38,8 +40,7 @@
|
||||
}
|
||||
},
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
"forwardPorts": [5901, 6080],
|
||||
|
||||
// Use 'postCreateCommand' to run commands after the container is created.
|
||||
"postCreateCommand": "pipx install poetry && poetry config virtualenvs.in-project true && poetry install",
|
||||
|
Loading…
Reference in New Issue
Block a user