Sign inSign up

sidh4u/node

By sidh4u

Updated over 1 year ago

NodeJS based out of AL2023 minimal

Image
0

387

sidh4u/node repository overview

sidh4u/node - Custom NodeJS Docker Image

A custom NodeJS image optimized for enterprise-grade workloads, built on Amazon Linux 2023 minimal.


📦 Example Usage

FROM sidh4u/node:latest

# Set working directory inside container
WORKDIR /app

# Copy only package.json and lock file first for caching
COPY package*.json ./

# Install dependencies (add `--production` to skip dev deps)
RUN npm install --production

# Copy application code
COPY . .

# Expose app port (if needed)
EXPOSE 3000

# Default command
CMD ["node", "index.js"]

Tag summary

Content type

Image

Digest

sha256:a4635fb86

Size

148.4 MB

Last updated

over 1 year ago

docker pull sidh4u/node