All Questions
6,368
questions
-2
votes
0
answers
11
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 ...
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 ...
0
votes
0
answers
27
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 ...
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 "...
0
votes
0
answers
32
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 ...
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 ...
-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 ...
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 ...
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 ...
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 ...
-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 ...
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 ...
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. ...
1
vote
1
answer
346
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 ...
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 ...