Skip to content

Commit dae197b

Browse files
!fixup Introduce devcontainer service container based development environment (#705)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 1ef9f0b commit dae197b

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "React UI (${localWorkspaceFolderBasename})",
33
"initializeCommand": "sh ./setup.sh",
44
"dockerComposeFile": [
5-
"../docker-compose.yml",
5+
"../docker-compose.yml"
66
],
77
"service": "devcontainer",
88
"shutdownAction": "stopCompose",

docker-compose.base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ services:
7676
ports:
7777
- ${COMPOSE_START_DOCS_SERVER_PORT}:8000
7878
volumes:
79-
- .:/workspace:ro
79+
- .:/workspace:z
8080

8181
volumes:
8282
# The following volumes are used to persist data (e.g. terminal history, AI tools data, etc.) across container restarts

docker/react_ui_devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN apt-get update && \
3333

3434
# Create the user
3535
RUN addgroup --gid $USER_GID $USERNAME && \
36-
adduser --uid $USER_UID --ingroup $USERNAME --home $HOME -shell $SHELL --disabled-password --gecos "" $USERNAME && \
36+
adduser --uid $USER_UID --ingroup $USERNAME --home $HOME --shell $SHELL --disabled-password --gecos "" $USERNAME && \
3737
echo "$USERNAME ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/$USERNAME && \
3838
chmod 0440 /etc/sudoers.d/$USERNAME
3939

@@ -85,7 +85,7 @@ RUN mkdir -p "$HOME/.config/claude" && \
8585
# Install Open Code CLI
8686
RUN curl -fsSL https://opencode.ai/install | bash -s -- --no-modify-path
8787

88-
# Install Github Copilot CLI
88+
# Install GitHub Copilot CLI
8989
# Note: Copilot CLI does not support XDG configuration, see:
9090
# * <https://github.com/github/copilot-cli/issues/1347>
9191
# * <https://github.com/github/copilot-cli/issues/1750>

src/docs/contribute/testing-guidelines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ npm run <eslint|markdownlint|stylelint>
3636
### Jest
3737

3838
```bash
39-
npm run jest
39+
npm run test:jest
4040
```
4141

4242
### Playwright
4343

44-
#### Configuration
44+
#### Configuration
4545

4646
Test parameters can be tweaked by creating and tweaking `.env` file.
4747

0 commit comments

Comments
 (0)