All Questions
1,147
questions
1
vote
1
answer
36
views
ng not found error when building Angular project using dockerfile
I came into a very strange issue yesterday. I have been working on an Angular project and deploying using docker. Everything works fine till yesterday, all of sudden I cannot build the docker image. ...
0
votes
0
answers
24
views
Docker Image Build with Local Packages
I saw some other questions that never answered this question.
I have a NextJs project that I am dockerizing. The projects uses a local dependency, which is a generated api client using the OpenAPI ...
1
vote
0
answers
11
views
VSCode debugger attachment to docker container
I'm having docker container which runs web and api application with two different ports.
Is it possible to attach my vscode debugger to the docker container?
I'm using node apps for both
Mostly the ...
0
votes
1
answer
32
views
/node_modules/.bin/../node/bin/node: 1: This: not found
Problem:
I set up a Docker Compose on my Linux (Kubuntu) laptop that includes a python container which runs Django and uses React for a Frontend. When I brought the Docker files over to my Windows 10 ...
0
votes
1
answer
38
views
Concatenate a string and run it as a command in Makefile (the first double dash disappears)
Sorry for my english in advance.
I've got nothing installed locally on my pc except the docker. For example, I prefer running npm commands in Makefile like this:
#!/usr/bin/make
TAG := 20.6.0
USER := ...
1
vote
1
answer
85
views
node: npm install takes forever and can't finish
I have problem after I tried npm install on docker. Now when I try npm install on my localhost PC even without docker my npm install never finished. In the log file is something about fsevents module ...
0
votes
0
answers
21
views
Different result in different machine when building image from Dockerfile
I maintain an old application running on docker using image FROM node:12.22.7.
Since this is an old application, it can only use specific version of npm packages.
I use docker in my Mac and Windows ...
1
vote
1
answer
70
views
Unable to find module index.js in Google Cloud VM Docker
I am a facing an error where a docker container is not able to start after deploying to GCP Cloud Compute Engine VM. However, it is able to start normally on my local mac m3 chip machine.
The error ...
0
votes
1
answer
73
views
Error installing spago@next using npm on node:22 Docker image
I am trying to set up a Docker development environment with PureScript. While trying to install Spago I get an error from the Docker builder. I am using the "node:22" image as a starting ...
0
votes
0
answers
76
views
Docker/NPM - Self-signed certificate in chain issue
My company has a self-signed certificate within our network that I cannot get around. I have added the cert to both my Windows and WSL cert stores and verified they work. However, when I build an ...
0
votes
0
answers
34
views
'docker-compose up' causing node build to fail when shifted from m1 pro to m3 pro
I have a nestjs app which I run using docker-compose up (along with a db and a redis container). My dockerfile is a standard one for node projects where I use a [email protected] image, install packages and ...
0
votes
0
answers
65
views
Error with `copyfiles` command When Building Docker Image: failed with exit code 127
Description:
I'm facing an issue while building a Docker image for my frontend application based on the Payload CMS ecommerce template.
You can run npx create-payload-app to try installing ecommerce ...
0
votes
0
answers
69
views
Docker and npm installations failing with "bad record MAC" error due to slow network on mobile hotspot
I've been encountering a persistent issue while working with Docker and npm installations on my system. Whenever I try to run docker build . -t <image_name> or npm install, I consistently ...
0
votes
0
answers
41
views
Setting up runtime environment variables in VITE React
I am using VITE React setup for my project. I am not able to change the environment variables during runtime as I understand Vite expects all environment variables during build time.
I have gone ...
0
votes
2
answers
77
views
Cant install @types/node by docker RUN inside docker file
When I use the following Dockerfile:
FROM node:22-alpine
ENV NODE_ENV production
WORKDIR /usr/web-server
RUN npm i -g @nestjs/cli typescript
COPY ./package*.json ./
RUN npm install
RUN npm ...