Comments (4)
I'd suggest changing CMD [ "node", ".output/server/index.mjs" ]
to CMD [ ".output/server/index.mjs" ]
.
from distroless.
honestly, I don't know enough about node to help here and am lacking the skills to debug this. We can wait for someone else to find it here, but I think you're better off asking on stackoverflow or a nodejs help forum.
from distroless.
I'm asking here, because I am pretty certain it's something with how distroless images are built that breaks it, which makes it somehow incomplete/broken node images :)
from distroless.
Oooooooh...
It's me missing it in the docs because I didn't expect this to work different way than other node-specific images.
Thanks for pointing out, @aaharu :) Now it works :)
from distroless.
Related Issues (20)
- MODULE_NOT_FOUND when starting any node application based on latest distroless images HOT 6
- CVE-2023-24329 HOT 2
- Using official Python base images and packaging into distroless later on HOT 3
- Should be based on Alpine HOT 1
- Reduce nodejs image size by removing /nodejs/include directory HOT 2
- Getting /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found error when using distroless base HOT 1
- Fix for CVE-2024-28085 HOT 6
- Merge /var/lib/dpkg/status.d/* HOT 1
- `static` tag is based on Debian 11 HOT 2
- use of non existing index.bzl file HOT 1
- CVE-2024-2961 HOT 3
- Docker image with distroless as a base image is throwing error while deploying to AWS EKS HOT 3
- How to install git on a distroless image? HOT 8
- add certificate to `gcr.io/distroless/java17-debian12:nonroot` HOT 2
- Adjusting the number of cores or gc config based upon cgroups HOT 1
- appending additional options to JAVA_TOOL_OPTIONS at runtime
- Google Cloud Container Registry will be closed HOT 1
- Python 3.11 CVE patches - CVE-2023-41105, CVE-2023-40217, CVE-2023-24329 HOT 2
- Fixable Debian CVEs CVE-2024-0727, CVE-2023-6129, CVE-2023-5678, CVE-2023-6237 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distroless.