Skip to content

Commit

Permalink
chore: update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Dec 15, 2023
1 parent a981259 commit 749187e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
version: 8
- uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: pnpm
cache-dependency-path: "web/pnpm-lock.yaml"
- run: pnpm install
Expand All @@ -40,7 +40,7 @@ jobs:
version: 8
- uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: pnpm
cache-dependency-path: "web/pnpm-lock.yaml"
- run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build frontend dist.
FROM node:18-alpine AS frontend
FROM node:20-alpine AS frontend
WORKDIR /frontend-build

COPY . .
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
- .air/go-build:/root/.cache/go-build
- $HOME/go/pkg/:/go/pkg/ # Cache for go mod shared with the host
web:
image: node:18-alpine
image: node:20-alpine
working_dir: /work
depends_on: ["api"]
ports: ["3001:3001"]
Expand Down Expand Up @@ -61,7 +61,7 @@ services:
# run npm
npm:
profiles: ["tools"]
image: node:18-alpine
image: node:20-alpine
working_dir: /work
environment: ["NPM_CONFIG_UPDATE_NOTIFIER=false"]
entrypoint: "npm"
Expand Down

0 comments on commit 749187e

Please sign in to comment.