---
title: "Discussion on \"Node.js \"Hello, World!\" with Docker\" | Hashnode"
description: "Discussion on \"Node.js \"Hello, World!\" with Docker\". Create a project directory.\nmkdir nodejs\ncd nodejs\n\nMake Dockerfile.\nFROM node:alpine\n\nWORKDIR /home/app\nUSER node\n\nEXPOSE 8080\n\nENTRYPOINT /bin/ash\nBuilds Docker images from a Dockerfile.\ndocker build -t node-alpine .\n\nCreates and starts a container..."
url: "https://hashnode.com/posts/nodejs-hello-world-with-docker/5fef3191b2cf2458fe328035"
---

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

Discussion

# [Node.js "Hello, World!" with Docker](https://kaisei.hashnode.dev/nodejs-hello-world-with-docker?utm_source=hashnode&utm_medium=feed)

Create a project directory. mkdir nodejs cd nodejs Make Dockerfile. FROM node:alpine WORKDIR /home/app USER node EXPOSE 8080 ENTRYPOINT /bin/ash Builds Docker images from a Dockerfile. docker build -t node-alpine . Creates and starts a container...

Jan 1, 2021 · 1 min read · kaisei.hashnode.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#docker](https://hashnode.com/tag/docker)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#hello-world](https://hashnode.com/tag/hello-world)

## Written by

[Kaisei Waki](https://hashnode.com/@kaisei)

@kaisei

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
