Skip to content

Commit

Permalink
chore: upgrade node version
Browse files Browse the repository at this point in the history
  • Loading branch information
leon3s committed Dec 9, 2023
1 parent b3753b5 commit 597b03c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: npm

- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16.17.1-alpine AS builder
FROM node:20.10.0-alpine AS builder

RUN apk add git

Expand All @@ -23,10 +23,10 @@ COPY --chown=node ./.git ./.git

RUN npm run build

FROM nginx:1.23.2-alpine
FROM nginx:1.25.3-alpine3.18-slim

WORKDIR /etc/nginx/conf.d

COPY --from=0 /home/node/app/build /home/node/app
COPY --from=builder /home/node/app/build /home/node/app

COPY ./server.nginx ./default.conf

0 comments on commit 597b03c

Please sign in to comment.