Skip to content

Commit

Permalink
Updated frontend build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
pkirilin committed Oct 15, 2023
1 parent 35ce21b commit 146a900
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.14.2'
node-version: '18.16.0'
- name: Install
run: yarn install --immutable --immutable-cache
run: yarn install
- name: Lint
run: yarn run eslint
run: yarn lint
- name: Build
run: yarn build
- name: Test
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ WORKDIR /app
COPY src/backend .
RUN dotnet publish -c Release -o publish src/FoodDiary.API/FoodDiary.API.csproj

FROM node:18.14.2-alpine AS frontend
FROM node:18.16.0-alpine AS frontend
WORKDIR /app
COPY src/frontend .
RUN yarn install
ENV PATH="./node_modules/.bin:$PATH"
RUN yarn build

FROM mcr.microsoft.com/dotnet/aspnet:6.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This information can be extremely useful for people who want to keep track of en

1. Install .NET SDK 6.0.302 or higher

1. Install Node.js 18.14.x or higher
1. Install Node.js 18.16.0 or higher

1. Install [yarn](https://yarnpkg.com/getting-started/install) package manager

Expand Down

0 comments on commit 146a900

Please sign in to comment.