---
title: "Discussion on \"Deploying Node.js Application in Kubernetes\" | Hashnode"
description: "Discussion on \"Deploying Node.js Application in Kubernetes\". Create a NodeJS application\n\nnpm init\n\nnpm install express\n\nCreate index.js and paste the following code\n  \n\n\nCreate Docker file\n\n\nFROM node:17-alpine This line specifies the base image to use for the container.\n\nWORKDIR /usr/src/app This line sets t..."
url: "https://hashnode.com/posts/deploying-nodejs-application-in-kubernetes/63d6c6febc2706ea2d722ee9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Deploying Node.js Application in Kubernetes](https://zainabmirkar.hashnode.dev/deploying-nodejs-application-in-kubernetes?utm_source=hashnode&utm_medium=feed)

Create a NodeJS application npm init npm install express Create index.js and paste the following code Create Docker file FROM node:17-alpine This line specifies the base image to use for the container. WORKDIR /usr/src/app This line sets t...

Jan 29, 2023 · 3 min read · zainabmirkar.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#devops](https://hashnode.com/tag/devops)
-   [#dev](https://hashnode.com/tag/dev)

## Written by

[Zainab Mirkar](https://hashnode.com/@zainabm)

@zainabm · Mumbai, India

  
[View profile](https://hashnode.com/@zainabm)

documenting tech

## Responses 1

Markdown supported · ⌘↵ to post

[Aliraza Khan](https://hashnode.com/@arkcodes)

[Jan 30, 2023](https://hashnode.com/posts/deploying-nodejs-application-in-kubernetes/63d6c6febc2706ea2d722ee9/comment/63d743a5e7e4ee42376edf9c)

Awesome🔥
