Q1medium
A startup wants to deploy their Node.js app but doesn't want to manage Linux server updates, firewalls, or patches. They just want to upload their code and have it run. Which model should they choose?
Topic-wise practice questions for Web Development. Test your knowledge, check solutions on demand, and pace your preparation.
RUN npm install
CMD ["node", "app.js"]
$ npm install --only=production
FROM node:18
COPY . /app