You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hello,
In Dockerfile, the last line is "npm run local", but if we check package.json, there is not script called local. I don't know if I miss something because I am not an frontend expert, perhaps I forgive a step.
To Reproduce
Build frontend and execute it
The text was updated successfully, but these errors were encountered:
That issue comes becasue in package.json there is no local there is dev you have to run project by npm run dev. In Docker file you have to make some changes to run this project here is updated Docker file .
Node Version
FROM node:20.9.0-alpine
Set the working directory inside the container
WORKDIR /usr/src/app
Copy package.json and package-lock.json to the working directory
COPY package*.json ./
Install dependencies
RUN npm install
Copy the application files to the working directory
Describe the bug
Hello,
In Dockerfile, the last line is "npm run local", but if we check package.json, there is not script called local. I don't know if I miss something because I am not an frontend expert, perhaps I forgive a step.
To Reproduce
Build frontend and execute it
The text was updated successfully, but these errors were encountered: