Skip to content

Commit

Permalink
Pin node docker image version and other dev changes.
Browse files Browse the repository at this point in the history
- Pinning node image version prevents breaking upgrades.
- Add python extensions to vscode devcontainer config
- Make docker pull all required parent images in ./scripts/build.sh
  • Loading branch information
GJFR committed Dec 4, 2024
1 parent b42ab31 commit 95358d5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"vscode": {
"extensions": [
"charliermarsh.ruff",
"ms-python.debugpy",
"ms-python.python",
"Vue.volar"
]
}
Expand Down
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"configurations": [
{
"name": "BugHog",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "/app/bci/app.py",
"purpose": [
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:lts-alpine as ui-build-stage
FROM node:22.12-alpine as ui-build-stage
WORKDIR /app
COPY /bci/web/vue/package*.json ./
RUN npm install
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

exec docker compose build
exec docker compose build --pull

0 comments on commit 95358d5

Please sign in to comment.