diff --git a/.github/workflows/linux-release.yml b/.github/workflows/linux-release.yml index 570f32d..d1fa3c4 100644 --- a/.github/workflows/linux-release.yml +++ b/.github/workflows/linux-release.yml @@ -16,7 +16,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: Build Frontend env: CI: "" diff --git a/.github/workflows/macos-release.yml b/.github/workflows/macos-release.yml index 4b47d64..243c14b 100644 --- a/.github/workflows/macos-release.yml +++ b/.github/workflows/macos-release.yml @@ -16,7 +16,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: Build Frontend env: CI: "" diff --git a/.github/workflows/windows-release.yml b/.github/workflows/windows-release.yml index b62435c..bec59fb 100644 --- a/.github/workflows/windows-release.yml +++ b/.github/workflows/windows-release.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: Build Frontend env: CI: "" diff --git a/Dockerfile b/Dockerfile index 38e9701..bc5f2aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ -FROM node:16 as builder +FROM node:18 AS builder WORKDIR /build COPY ./web . COPY ./VERSION . +RUN corepack enable && corepack prepare yarn@1.22.22 --activate RUN yarn install RUN REACT_APP_VERSION=$(cat VERSION) yarn build