Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-2 votes
0 answers
10 views

Displaying host machine info with docker container

I have nextjs app and im using nodejs os to gather system info about totalram cpu etc. How i can make it work with docker cause if i run my app with docker compose on my app ui i see ram allocated to ...
Teeco's user avatar
  • 11
0 votes
0 answers
19 views

Content not from webpack is served from '/app' directory (Docker / Webpack)

I'm using Webpack configuration with docker. Everything working well as development step. However this is not working for my preproduction and production step. The difference between these steps is ...
Srevinu's user avatar
  • 369
0 votes
0 answers
24 views

Unable to update Node.js in pre-built Docker container

I have a project that's inside a pre-built docker container which uses Node v14. I have been let know that the container was pulled like this a long time ago: docker pull node:20-alpine.. but not much ...
Psypher's user avatar
0 votes
0 answers
30 views

how to test localhost API from docker container

I am a little new to docker and I trying to figure out how to use docker compose. So far I have only created a test API called "http://localhost:3000/test" which would just return a "...
Danh Nguyen's user avatar
0 votes
0 answers
29 views

How to properly package a Node.js and React app stripping the container of all unneeded files?

I have a Node.js backend that serves up the React frontend (later I can do CDN probably) and for now, I plan on disallowing CORS so React must talk to my Node.js backend only. The prototype for this ...
Dean Hiller's user avatar
  • 19.8k
0 votes
1 answer
28 views

Can I make a docker container copy its content out right before starting?

I have a docker-composer file and a Dockerfile for angular project, but it only works, when the node packages are already installed. As node packages are excluded of the git repo, when someone clones ...
Maestro's user avatar
  • 43
-1 votes
0 answers
19 views

Error when deploying fly.io app - Error: Could not find a schema.prisma file

Link to repo - https://github.com/kodaneflash/solofoundershub.com Nothing in the code is incorrect, this is a clone of a repostiroy kentcdodds.com, it has to do with the setup. This is a remix vite ...
James's user avatar
  • 1
0 votes
2 answers
63 views

Error uploading node.js project on azure web app through Github CI/CD

I am uploading my node.js code on Azure web app. After a lot of try, I was able to successfully do it. I am building my code on Visual Studio and pushing to Github and using CI/CD connected to Azure ...
Basu's user avatar
  • 773
0 votes
0 answers
37 views

Testcontainers + VSCode devcontainer timeout when starting a container exposing a port

Whenever I try to start a container using Testcontainers (NodeJS) using VSCode devcontainer (docker-ouside-of-docker approach) and I define a Network for the container and I expose a port, it fails ...
sergi's user avatar
  • 1,079
0 votes
1 answer
33 views

Next.js build deployment fails on typecheck when using Dockerfile

Im trying to deploy my Next.js application with docker. When running "npm run build" locally on my Windows machine, all works fine. When using the Dockerfile provided by Vercel though, the ...
Marvin34565's user avatar
-1 votes
0 answers
15 views

${ECS_CONTAINER_METADATA_URI_V4}/stats abnormally high memory limit

I have a Node.js process running on ECS/Fargate that fetches memory statistics from ${ECS_CONTAINER_METADATA_URI_V4}/stats every minute and persists the result to a database. To calculate the memory ...
Pablo Cantero's user avatar
0 votes
0 answers
32 views

Error installing public keys in docker container without gnupg, but can't install gnupg without keys

I'm having to upgrade a docker container from a node:16-slim to a node:18-slim base. I've been having issues so have cut the dockerfile back to absolute basics, but still can't get it to work when ...
user176504's user avatar
1 vote
1 answer
42 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. ...
AoLiGei's user avatar
  • 51
1 vote
1 answer
342 views

Strange memory/IO errors when building nextjs/node app inside docker

I have Linux server with 1.3T of nvme ssd, and 64gb of ram memory. There is production app based on latest nextjs and nod. So I have docker-compose with container for the frontend where I just copy ...
Max Frai's user avatar
  • 63.7k
1 vote
0 answers
28 views

How to resolve elastic-apm-node APM Server transport error (ENOTFOUND) error

I've been trying to solve an issue when implementing Elastic APM in a microservice. The APM container (apm-server) is running in Docker. I have a NodeJs microservice (test-service), also deployed in ...
matt606's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
425