Loading...
Generate standard Dockerfiles for your apps.
# Node.js Dockerfile FROM node:20-alpine # Create app directory WORKDIR /app # Install dependencies COPY package*.json ./ RUN npm install --production # Bundle app source COPY . . # Expose port EXPOSE 3000 # Start the application CMD ["npm", "start"]
Generate standard Dockerfiles for your apps.