docker-web-gui icon indicating copy to clipboard operation
docker-web-gui copied to clipboard

🐞 Docker build fail due to old npm version and dependency issues

Open git-clone-abhinav opened this issue 1 year ago • 1 comments

Resolved #50

updated Dockerfile

FROM node:alpine
WORKDIR /src
RUN apk add --no-cache python3 py3-pip build-base
ADD ./backend /src/backend
ADD ./client /src/client
ADD ./app.js /src/app.js
RUN cd /src/backend && npm install --silent
CMD ["node", "/src/app.js"]
EXPOSE 3230

git-clone-abhinav avatar Apr 26 '24 09:04 git-clone-abhinav

I tested it and it works, thanks!

plaffitt avatar Apr 27 '24 17:04 plaffitt

Hi! Thanks for the PR. Some existing change should already solve this issue, please pull from latest master.

rakibtg avatar Jun 01 '24 01:06 rakibtg